From 9a950b6b80ca495e8e9068f06066915e17daf4bb Mon Sep 17 00:00:00 2001 From: lapineige Date: Sun, 31 Dec 2023 19:32:11 +0100 Subject: [PATCH] fix condition syntax --- scripts/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index 70939ea..70ddc89 100644 --- a/scripts/config +++ b/scripts/config @@ -122,7 +122,7 @@ apply_config() { #================================================= # Change the password if needed - if [ "$encrypt" ] + if [ "$encrypt" = true ] then ynh_print_OFF test -n "$encrypt_password" || ynh_die --message="The password for encryption can't be empty if you choose to enable encryption."