mirror of
https://github.com/YunoHost-Apps/jitsi_ynh.git
synced 2024-09-03 19:35:57 +02:00
fix upgrade undef var
This commit is contained in:
parent
89c0b895ee
commit
7dac3fa399
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ ynh_systemd_action --service_name="$app-jicofo" --action="stop" --log_path="/var
|
|||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
|
||||
# If max_memory doesn't exist, create it and set to default 75 mb value
|
||||
if [ -z "$max_memory" ]; then
|
||||
if [ -z "${max_memory:-}" ]; then
|
||||
max_memory=200
|
||||
ynh_app_setting_set --app="$app" --key=max_memory --value="$max_memory"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue