From 401285c248aa92231cbf8cf2395b7ecfc9539125 Mon Sep 17 00:00:00 2001 From: ewilly Date: Mon, 21 Jun 2021 08:55:20 +0200 Subject: [PATCH] Fix port in restore script --- scripts/restore | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index cb7a2ea..42666e2 100644 --- a/scripts/restore +++ b/scripts/restore @@ -32,8 +32,7 @@ ynh_webpath_available --domain="$domain" --path_url="$path_url" || ynh_die "$dom ynh_script_progression --message="Restoring the port and opening it..." # restore port -[ $port -eq $(ynh_find_port $port) ] || ynh_die "$port is not available, please use an other port" -ynh_exec_fully_quiet yunohost firewall allow TCP $port +ynh_exec_warn_less yunohost firewall allow TCP $port ynh_script_progression --message="Restoring dedicated user, rights and folders..." # restore dedicated system user