forked from extern/shorewall_code
Release mutex on error.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
3923092468
commit
c3901f1161
@ -65,6 +65,7 @@ startup_error() # $* = Error Message
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
mutex_off
|
||||||
kill $$
|
kill $$
|
||||||
exit 2
|
exit 2
|
||||||
}
|
}
|
||||||
|
@ -419,6 +419,7 @@ fatal_error()
|
|||||||
|
|
||||||
stop_firewall
|
stop_firewall
|
||||||
[ -n "$TEMPFILE" ] && rm -f $TEMPFILE
|
[ -n "$TEMPFILE" ] && rm -f $TEMPFILE
|
||||||
|
mutex_off
|
||||||
exit 2
|
exit 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user