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:
parent
6747b9ba0f
commit
7b610bf02e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue