From 6730b83875d8098d7b3279b6d5650cac14c2d333 Mon Sep 17 00:00:00 2001 From: EliterScripts Date: Tue, 9 Apr 2019 21:41:52 -0700 Subject: [PATCH] fixed local error --- setup/questions.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup/questions.sh b/setup/questions.sh index d7c2f3c6..ad83345a 100644 --- a/setup/questions.sh +++ b/setup/questions.sh @@ -25,9 +25,9 @@ if [ -z "${NONINTERACTIVE:-}" ]; then if [ -z "${I_AGREE_MAILINABOX:-}" ]; then - local config_agreed=$( check_config_agreed && echo "true" || echo "false") + is_config_agreed=$( check_config_agreed && echo "true" || echo "false") - if [ "$config_agreed" -eq "false"]; then + if [ "$is_config_agreed" -eq "false"]; then #makes sure the user is aware of our legal stuff. message_box "Mail-in-a-Box Legal Notice" \ @@ -47,9 +47,9 @@ if [ -z "${NONINTERACTIVE:-}" ]; then I_AGREE_MAILINABOX=$(/bin/true) else - local config_agreed=$( check_config_agreed && echo "true" || echo "false") + is_config_agreed=$( check_config_agreed && echo "true" || echo "false") - if [ "$config_agreed" -eq "true"]; then + if [ "$is_config_agreed" -eq "true"]; then I_AGREE_MAILINABOX=$(/bin/true) fi