mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 14:20:40 +01:00
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
|
||||
fi
|
||||
|
||||
mutex_off
|
||||
kill $$
|
||||
exit 2
|
||||
}
|
||||
|
@ -419,6 +419,7 @@ fatal_error()
|
||||
|
||||
stop_firewall
|
||||
[ -n "$TEMPFILE" ] && rm -f $TEMPFILE
|
||||
mutex_off
|
||||
exit 2
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user