From 2760718d6287b20436ed6b38510ac400cfffd148 Mon Sep 17 00:00:00 2001 From: lapineige Date: Sun, 31 Dec 2023 12:52:55 +0100 Subject: [PATCH] use boolean value --- scripts/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config b/scripts/config index 97f4dff..97a69e2 100644 --- a/scripts/config +++ b/scripts/config @@ -124,7 +124,7 @@ apply_config() { #================================================= # Change the password if needed - if [ "$encrypt" = "1" ] + if [ "$encrypt" ] 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."