Add warning for encryption

master
Edward Shen 2021-07-11 00:15:43 -04:00
parent 9871fc3774
commit 8040c49a1e
Signed by: edward
GPG Key ID: 19182661E818369F
1 changed files with 4 additions and 0 deletions

View File

@ -251,6 +251,10 @@ fn print_preamble_and_warnings(args: &Config) -> Result<(), Box<dyn Error>> {
". If not, see <https://www.gnu.org/licenses/>.\n"
));
if args.ephemeral_disk_encryption {
error!("Encrypted files are _very_ broken; caveat emptor!");
}
if !args.unstable_options.is_empty() {
warn!("Unstable options are enabled. These options should not be used in production!");
}