1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

Change conditional expression

This commit is contained in:
Aurelien Vaillant 2023-08-21 15:02:29 +02:00
parent 9dbb8b1821
commit 2c0b155c94

View file

@ -40,7 +40,7 @@ fi
# BACKUP CUSTOM CONF # BACKUP CUSTOM CONF
#================================================= #=================================================
if [ $custom_error_file == "true"] if [ $custom_error_file ]
then then
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.d/nginx-code-error.conf" ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.d/nginx-code-error.conf"
fi fi