Main: Print failed integrity check instead of erroring
This commit is contained in:
parent
770b78c03a
commit
f20cf6e875
|
@ -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(())
|
||||
|
|
Loading…
Reference in a new issue