Main: Print failed integrity check instead of erroring

This commit is contained in:
networkException 2022-08-15 12:54:41 +02:00
parent 770b78c03a
commit f20cf6e875
No known key found for this signature in database
GPG key ID: C1F2658DC370C8FC

View file

@ -93,7 +93,7 @@ fn run() -> Result<()> {
if filename != hash {
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(())