mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-22 21:48:39 +01:00
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:
parent
8099739303
commit
d94fdb92c6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user