mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-08 23:20:55 +02:00
Retry return status 4 from iptables
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7765 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
@ -103,7 +103,12 @@ startup_error() # $* = Error Message
|
||||
#
|
||||
run_iptables()
|
||||
{
|
||||
if ! $IPTABLES $@; then
|
||||
while [ 1 ]; do
|
||||
$IPTABLES $@
|
||||
[ $? -ne 4 ] && break
|
||||
done
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
error_message "ERROR: Command \"$IPTABLES $@\" Failed"
|
||||
stop_firewall
|
||||
exit 2
|
||||
|
Reference in New Issue
Block a user