Main: Print failed integrity check instead of erroring
This commit is contained in:
parent
7d1529ae44
commit
f4274e3dfa
1 changed files with 1 additions and 1 deletions
|
@ -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(())
|
||||||
|
|
Loading…
Reference in a new issue