From 3c855ed793918385220270d7514525e52e9ee51f Mon Sep 17 00:00:00 2001 From: William Wernert Date: Fri, 17 Jul 2020 15:38:14 -0400 Subject: [PATCH] [fix] Set $percentage since it only exists in previous subshell --- setup/so-setup | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/so-setup b/setup/so-setup index b0aabbb89..978a3b665 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -631,6 +631,7 @@ if [[ -n $SO_ERROR ]]; then whiptail_setup_failed else { + export percentage=95 # set to last percentage used in previous subshell if [[ -n $ALLOW_ROLE && -n $ALLOW_CIDR ]]; then set_progress_str 98 "Running so-allow -${ALLOW_ROLE} for ${ALLOW_CIDR}" IP=$ALLOW_CIDR so-allow -$ALLOW_ROLE >> $setup_log 2>&1