ref return

This commit is contained in:
2020-04-13 00:09:43 +08:00
parent ab1be53102
commit 484e7de833

View File

@@ -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() {