From 63e023d2326e6876af017efc3fdb0d4d354a711d Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 8 Nov 2020 17:04:29 +0100 Subject: [PATCH] No need to close port since it was never opened --- scripts/remove | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/scripts/remove b/scripts/remove index aabec9d..5ea9661 100644 --- a/scripts/remove +++ b/scripts/remove @@ -67,16 +67,6 @@ ynh_script_progression --message="Removing nginx web server configuration..." -- # Remove the dedicated nginx config ynh_remove_nginx_config -#================================================= -# CLOSE A PORT -#================================================= - -if yunohost firewall list | grep -q "\- $port$" -then - ynh_script_progression --message="Closing port $port..." --weight=1 - ynh_exec_warn_less yunohost firewall disallow TCP $port -fi - #================================================= # GENERIC FINALIZATION #=================================================