forked from extern/shorewall_code
More error logging
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5108 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
626e0c577f
commit
2e9eed3dfe
@ -192,6 +192,7 @@ start_command() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
[ -n "$nolock" ] || mutex_off
|
[ -n "$nolock" ] || mutex_off
|
||||||
|
[ $rc -eq 0 ] || logger "ERROR:Shorewall Lite start failed"
|
||||||
exit $rc
|
exit $rc
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -366,6 +367,7 @@ restart_command() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
[ -n "$nolock" ] || mutex_off
|
[ -n "$nolock" ] || mutex_off
|
||||||
|
[ $rc -eq 0 ] || logger "ERROR:Shorewall Lite restart failed"
|
||||||
return $rc
|
return $rc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user