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

Fix warning info with the change url script

This commit is contained in:
Aurelien Vaillant 2023-08-21 15:38:14 +02:00
parent 44f371dae6
commit c1c68f9463

View file

@ -54,7 +54,7 @@ then
path_url="$new_path"
# Update custom error file path if needed
if [ $custom_error_file -eq 1 ]
if [ $custom_error_file ]
ynh_print_info --message="Change the custom error config file"
then
ynh_add_config --template="nginx-code-error.conf" --destination="$nginx_extra_conf_dir/error-code.conf"