From 6ba11f835dfe8b1c758b41cc4b573f95d82ed96b Mon Sep 17 00:00:00 2001 From: William Wernert Date: Sat, 2 Jan 2021 21:03:15 -0500 Subject: [PATCH] [fix] Remove condition for stopping SOC, since the parent condition covers what's tested --- setup/so-setup | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup/so-setup b/setup/so-setup index 785d5241f..b84986c36 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -844,10 +844,9 @@ else export percentage=95 # set to last percentage used in previous subshell if [[ -n $ALLOW_ROLE && -n $ALLOW_CIDR ]]; then - if [[ $is_manager || $is_import ]]; then - set_progress_str 96 "Stopping SOC prior to adjusting firewall rules" - so-soc-stop # Stop SOC so it doesn't accept external requests prior to the reboot - fi + set_progress_str 96 "Stopping SOC prior to adjusting firewall rules" + so-soc-stop # Stop SOC so it doesn't accept external requests prior to the reboot + set_progress_str 97 "Running so-allow -${ALLOW_ROLE} for ${ALLOW_CIDR}" IP=$ALLOW_CIDR so-allow -$ALLOW_ROLE >> $setup_log 2>&1 fi