diff --git a/setup/so-setup b/setup/so-setup index c22d49ee8..0ddf99895 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -623,7 +623,7 @@ if [[ -n $ALLOW_ROLE && -n $ALLOW_CIDR ]]; then IP=$ALLOW_CIDR so-allow -$ALLOW_ROLE >> $setup_log 2>&1 fi -if [[ $success != 0 || $SO_ERROR == 1 ]]; then +if [[ $success != 0 || -n $SO_ERROR ]]; then SKIP_REBOOT=1 whiptail_setup_failed else