From 6fae49c4656b695193aeb1235041f3c58a4103b3 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Wed, 1 Nov 2017 23:45:38 -0500 Subject: [PATCH] enter --debug anytime --- iiab-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iiab-install b/iiab-install index c2b35864c..001dc8eac 100755 --- a/iiab-install +++ b/iiab-install @@ -26,12 +26,12 @@ else # check ansible version here and force ansible upgrade if needed else source /etc/iiab/iiab.env - if [ $STAGE == 9 ] && [ "$1" = "--debug" ]; then + if [ "$1" = "--debug" ]; then echo "Entering debug mode" sed -i -e 's/^STAGE=.*/STAGE=2/' /etc/iiab/iiab.env elif [ ! $STAGE == 9 ]; then echo "Restarting *after* STAGE $STAGE..as soon as Stage 0 completes. Stage 9 comes last." - else + elif [ $STAGE == 9 ]; then # place keeper add read response # "offer 'Y' or stage number dialog box option to override" echo "'iiab-install' has already been completed"