Main: Print failed integrity check instead of erroring

This commit is contained in:
networkException 2022-08-15 12:54:41 +02:00
parent 7d1529ae44
commit f4274e3dfa
Signed by: networkException
GPG key ID: E3877443AE684391

View file

@ -93,7 +93,7 @@ fn run() -> Result<()> {
if filename != hash { if filename != hash {
let path_string = path.to_str().unwrap(); let path_string = path.to_str().unwrap();
return Err(Error::new(ErrorKind::Other, format!("Integrity check failed for {}: Expected {}, got {}", path_string, filename, hash))); eprintln!("Integrity check failed for {}: Expected {}, got {}", path_string, filename, hash);
} }
Ok(()) Ok(())