mirror of
https://github.com/YunoHost-Apps/archivist_ynh.git
synced 2024-09-03 18:15:55 +02:00
fix condition syntax
This commit is contained in:
parent
04985e275e
commit
9a950b6b80
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Reference in a new issue