From 30d6de90ae9fd2d04f910bc8fedcc419e3e4a2a2 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Mon, 8 Apr 2019 20:46:41 -0400 Subject: [PATCH] Setup - Make sure install completes properly --- so-setup-network.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/so-setup-network.sh b/so-setup-network.sh index ad089d0f1..9ad12cda7 100644 --- a/so-setup-network.sh +++ b/so-setup-network.sh @@ -1897,13 +1897,13 @@ if (whiptail_you_sure); then } |whiptail --title "Hybrid Hunter Install" --gauge "Please wait while installing" 6 60 0 GOODSETUP=$(tail -10 sosetup.log | grep Failed | awk '{ print $2}') if [ $OS == 'centos' ]; then - if [ $GOODSETUP == '1' ]; then + if [[ $GOODSETUP == '1' ]]; then whiptail_setup_complete else whiptail_setup_failed fi else - if [ $GOODSETUP == '0' ]; then + if [[ $GOODSETUP == '0' ]]; then whiptail_setup_complete else whiptail_setup_failed