1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grafana_ynh.git synced 2024-09-03 20:36:29 +02:00

[fix] Better check port

This commit is contained in:
bcollignon 2017-05-17 16:55:54 +02:00
parent 6747b9ba0f
commit 7b610bf02e

View file

@ -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