Replace calls to 'notdone'

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-05-21 10:46:07 -07:00
parent d66206ba8b
commit 4d0a3882be

View File

@ -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