diff --git a/scripts/install b/scripts/install index e5bc27f..aa228d8 100644 --- a/scripts/install +++ b/scripts/install @@ -85,7 +85,7 @@ if [ $discovery -eq 1 ]; then fi # Open port 7359 for client auto-discovery - if [[ $(ynh_port_available --port=7359) -eq 0 ]]; then + if ynh_port_available --port=7359; then ynh_exec_warn_less yunohost firewall allow UDP 7359 ynh_app_setting_set --app=$app --key=discovery_client --value=1 else