From 72a98b33a79658d075c3f4e9ab89ca3fd4c84d5e Mon Sep 17 00:00:00 2001 From: William Wernert Date: Tue, 7 Jul 2020 17:38:23 -0400 Subject: [PATCH] [fix] Change test to check value of `$SO_ERROR` --- setup/so-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-setup b/setup/so-setup index eca5dbf23..b6ef14c3a 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -620,7 +620,7 @@ if [[ -n $ALLOW_ROLE && -n $ALLOW_CIDR ]]; then IP=$ALLOW_CIDR so-allow -$ALLOW_ROLE >> $setup_log 2>&1 fi -if [[ $success != 0 || -z $SO_ERROR ]]; then whiptail_setup_failed +if [[ $success != 0 || $SO_ERROR == 1 ]]; then whiptail_setup_failed else whiptail_setup_complete if [[ $THEHIVE == 1 ]]; then check_hive_init; fi