mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-18 20:54:33 +02:00
Release mutex on error.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user