diff --git a/src/main.rs b/src/main.rs index c3edd40..17af7bf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -168,7 +168,7 @@ fn process_config_item(options: &Options, config_item: &OSSBackupdConfigItem, remove_temp_files(); return false; }; - return true; + true }; #[cfg(not(feature = "use_sequoia_openpgp"))] let enc_file_by_pgp = || { @@ -178,7 +178,7 @@ fn process_config_item(options: &Options, config_item: &OSSBackupdConfigItem, print_message(MessageType::ERROR, &format!("Error in encrypt file: {}, at item index: {}", e, item_index)); return false; } - return true; + true }; if !enc_file_by_pgp() {