forked from extern/shorewall_code
Replace calls to 'notdone'
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
d66206ba8b
commit
4d0a3882be
@ -61,7 +61,7 @@ shorewall_start () {
|
|||||||
vardir=/var/lib/$product
|
vardir=/var/lib/$product
|
||||||
[ -f /etc/$product/vardir ] && . /etc/$product/vardir
|
[ -f /etc/$product/vardir ] && . /etc/$product/vardir
|
||||||
if [ -x ${vardir}/firewall ]; then
|
if [ -x ${vardir}/firewall ]; then
|
||||||
${vardir}/firewall stop || notdone
|
${vardir}/firewall stop || exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -78,7 +78,7 @@ shorewall_stop () {
|
|||||||
vardir=/var/lib/$PRODUCT
|
vardir=/var/lib/$PRODUCT
|
||||||
[ -f /etc/$product/vardir ] && . /etc/$product/vardir
|
[ -f /etc/$product/vardir ] && . /etc/$product/vardir
|
||||||
if [ -x ${vardir}/firewall ]; then
|
if [ -x ${vardir}/firewall ]; then
|
||||||
${vardir}/firewall clear || notdone
|
${vardir}/firewall clear || exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user