1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-20 02:52:11 +00:00

fixed IF statement

This commit is contained in:
EliterScripts 2019-04-09 22:12:31 -07:00
parent 0a7d39bc5e
commit f6a122ef43

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