From c58571312212164ad8bd57cd163cd5860b0e78b1 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Mon, 13 Jul 2020 13:28:54 -0400 Subject: [PATCH] [style] Change SO_ERROR check to non-empty check --- setup/so-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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