From c1c68f946379af99cff8d560af2888096cc7a14a Mon Sep 17 00:00:00 2001 From: Aurelien Vaillant Date: Mon, 21 Aug 2023 15:38:14 +0200 Subject: [PATCH] Fix warning info with the change url script --- scripts/change_url | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index af6bc80..d6a18d1 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -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"