diff --git a/Shorewall-lite/init.debian.sh b/Shorewall-lite/init.debian.sh index d22fc7f82..e84f1025d 100755 --- a/Shorewall-lite/init.debian.sh +++ b/Shorewall-lite/init.debian.sh @@ -23,7 +23,7 @@ export SHOREWALL_INIT_SCRIPT test -x $SRWL || exit 0 test -x $WAIT_FOR_IFUP || exit 0 -test -n $INITLOG || { +test -n "$INITLOG" || { echo "INITLOG cannot be empty, please configure $0" ; exit 1; } diff --git a/Shorewall/init.debian.sh b/Shorewall/init.debian.sh index e832a3ac5..d0f86e25f 100755 --- a/Shorewall/init.debian.sh +++ b/Shorewall/init.debian.sh @@ -19,7 +19,7 @@ test -n ${INITLOG:=/var/log/shorewall-init.log} test -x $SRWL || exit 0 test -x $WAIT_FOR_IFUP || exit 0 -test -n $INITLOG || { +test -n "$INITLOG" || { echo "INITLOG cannot be empty, please configure $0" ; exit 1; } diff --git a/Shorewall6-lite/init.debian.sh b/Shorewall6-lite/init.debian.sh index 7a4cf12dc..576db1b75 100755 --- a/Shorewall6-lite/init.debian.sh +++ b/Shorewall6-lite/init.debian.sh @@ -23,7 +23,7 @@ export SHOREWALL_INIT_SCRIPT test -x $SRWL || exit 0 test -x $WAIT_FOR_IFUP || exit 0 -test -n $INITLOG || { +test -n "$INITLOG" || { echo "INITLOG cannot be empty, please configure $0" ; exit 1; } diff --git a/Shorewall6/init.debian.sh b/Shorewall6/init.debian.sh index 46c7e2a94..559e5427e 100755 --- a/Shorewall6/init.debian.sh +++ b/Shorewall6/init.debian.sh @@ -19,7 +19,7 @@ test -n ${INITLOG:=/var/log/shorewall6-init.log} test -x $SRWL || exit 0 test -x $WAIT_FOR_IFUP || exit 0 -test -n $INITLOG || { +test -n "$INITLOG" || { echo "INITLOG cannot be empty, please configure $0" ; exit 1; }