Release mutex on error.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-05-09 09:57:09 -07:00
parent 3923092468
commit c3901f1161
2 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,7 @@ startup_error() # $* = Error Message
esac
fi
mutex_off
kill $$
exit 2
}

View File

@ -419,6 +419,7 @@ fatal_error()
stop_firewall
[ -n "$TEMPFILE" ] && rm -f $TEMPFILE
mutex_off
exit 2
}