fixed IF statement

This commit is contained in:
EliterScripts committed 2019-04-09 22:12:31 -07:00
1 parent 0a7d39bc5e
commit f6a122ef43
1 file changed
+3 -2
+3 -2
View File
@@ -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