From f6a122ef4369b0427360e5e127c6863cd8b39ff0 Mon Sep 17 00:00:00 2001 From: EliterScripts Date: Tue, 9 Apr 2019 22:12:31 -0700 Subject: [PATCH] fixed IF statement --- setup/questions.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/questions.sh b/setup/questions.sh index a8c0071b..8053e89b 100644 --- a/setup/questions.sh +++ b/setup/questions.sh @@ -25,7 +25,8 @@ if [ -z "${NONINTERACTIVE:-}" ]; then if [ -z "${I_AGREE_MAILINABOX:-}" ]; then - if [ "$(check_config_agreed; echo $?)" -eq "1"]; then + + if [ $(check_config_agreed; echo $?) -eq "1" ]; then #makes sure the user is aware of our legal stuff. message_box "Mail-in-a-Box Legal Notice" \ @@ -45,7 +46,7 @@ if [ -z "${NONINTERACTIVE:-}" ]; then I_AGREE_MAILINABOX=$(/bin/true) else - if [ "$(check_config_agreed; echo $?)" -eq "0"]; then + if [ $(check_config_agreed; echo $?) -eq "0" ]; then I_AGREE_MAILINABOX=$(/bin/true) fi