Add warning for encryption
This commit is contained in:
parent
9871fc3774
commit
8040c49a1e
1 changed files with 4 additions and 0 deletions
|
@ -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 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() {
|
if !args.unstable_options.is_empty() {
|
||||||
warn!("Unstable options are enabled. These options should not be used in production!");
|
warn!("Unstable options are enabled. These options should not be used in production!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue