Log start/restart/restore failures

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5088 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-12-10 20:30:42 +00:00
parent 8099739303
commit d94fdb92c6

View File

@ -4460,6 +4460,18 @@ stop_firewall() {
*)
set +x
case \$COMMAND in
start)
logger "Shorewall start failed"
;;
restart)
logger "Shorewall restart failed"
;;
restore)
logger "Shorewall restore failed"
;;
esac
if [ "\$RESTOREFILE" = NONE ]; then
COMMAND=clear
clear_firewall