diff --git a/src/cmd_decrypt.rs b/src/cmd_decrypt.rs index bb9e752..d847bee 100644 --- a/src/cmd_decrypt.rs +++ b/src/cmd_decrypt.rs @@ -202,11 +202,7 @@ pub fn decrypt_single(config: &Option, debugging!("Inner decrypt file{}: {} elapsed: {} ms", compressed_desc, path_display, encrypt_duration.as_millis()); if cmd_decrypt.remove_file { - if do_skip_file_out { - warning!("Cannot remove encrypted file when file out is skipped."); - } else { - util::remove_file_with_msg(path); - } + util::remove_file_with_msg(path); } Ok(meta.file_length) }