From f4274e3dfa5eb34c8081754932dc5dacdd018d5e Mon Sep 17 00:00:00 2001 From: networkException Date: Mon, 15 Aug 2022 12:54:41 +0200 Subject: [PATCH] Main: Print failed integrity check instead of erroring --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 6f6ec64..4969ac4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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(())