From 4d0a3882be6aafb35f753a81af1d3f49ef0c4170 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 21 May 2010 10:46:07 -0700 Subject: [PATCH] Replace calls to 'notdone' Signed-off-by: Tom Eastep --- Shorewall-init/init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall-init/init.sh b/Shorewall-init/init.sh index fbbb5461e..f8df5b0c7 100755 --- a/Shorewall-init/init.sh +++ b/Shorewall-init/init.sh @@ -61,7 +61,7 @@ shorewall_start () { vardir=/var/lib/$product [ -f /etc/$product/vardir ] && . /etc/$product/vardir if [ -x ${vardir}/firewall ]; then - ${vardir}/firewall stop || notdone + ${vardir}/firewall stop || exit 1 fi done @@ -78,7 +78,7 @@ shorewall_stop () { vardir=/var/lib/$PRODUCT [ -f /etc/$product/vardir ] && . /etc/$product/vardir if [ -x ${vardir}/firewall ]; then - ${vardir}/firewall clear || notdone + ${vardir}/firewall clear || exit 1 fi done