ref return
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user