diff --git a/Cargo.lock b/Cargo.lock index 673b640..5d74cc4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -77,7 +77,7 @@ dependencies = [ [[package]] name = "antivirus" -version = "0.1.4" +version = "0.1.5" dependencies = [ "clap", "rand", diff --git a/src/antivirus.rs b/src/antivirus.rs index 3cfac1a..ec5d590 100644 --- a/src/antivirus.rs +++ b/src/antivirus.rs @@ -144,7 +144,7 @@ fn install_clamav() -> std::io::Result<()> { } "windows" => { let _ = windows::install_clamav_windows(); - handle_freshclam_copy_windows("C:\\ProgramData\\.clamav")?? + handle_freshclam_copy_windows("C:\\ProgramData\\.clamav")? } _ => { eprintln!("Unsupported operating system: {}", env::consts::OS);