1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/archivist_ynh.git synced 2024-09-03 18:15:55 +02:00

use boolean value

This commit is contained in:
lapineige 2023-12-31 12:52:55 +01:00 committed by GitHub
parent 98dfd4a1e4
commit 2760718d62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,7 +124,7 @@ apply_config() {
#================================================= #=================================================
# Change the password if needed # Change the password if needed
if [ "$encrypt" = "1" ] if [ "$encrypt" ]
then then
ynh_print_OFF ynh_print_OFF
test -n "$encrypt_password" || ynh_die --message="The password for encryption can't be empty if you choose to enable encryption." test -n "$encrypt_password" || ynh_die --message="The password for encryption can't be empty if you choose to enable encryption."