From 7b610bf02e0fdc2116733ed907602cc38056a20f Mon Sep 17 00:00:00 2001 From: bcollignon Date: Wed, 17 May 2017 16:55:54 +0200 Subject: [PATCH] [fix] Better check port --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index d2ade72..be7e674 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -21,7 +21,7 @@ is_public=$(ynh_app_setting_get "$app" is_public) port=$(ynh_app_setting_get "$app" port) # test port settings -if [[ "$port" = "" ]]; then +if [[ -z "$port" ]]; then port=3000 ynh_app_setting_set $app port $port fi