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

Try another conditional test

This commit is contained in:
Aurelien Vaillant 2023-08-17 11:33:48 +02:00
parent 7b02f2817e
commit f06a4f5ba9

View file

@ -58,7 +58,7 @@ fi
ynh_script_progression --message="Start to init custom error code"
# If custom_error_file doesn't exist, create it. We assume it is the default system one.
if [ -z "${custom_error_file}" ]; then
if [ -z "${custom_error_file:-}" ]; then
ynh_script_progression --message="Variable not existing, create-it"
custom_error_file=$(ynh_app_setting_get --app=$app --key=custom_error_file)
fi