diff --git a/Shorewall/Perl/prog.header b/Shorewall/Perl/prog.header index 32a184105..ad5451bd1 100644 --- a/Shorewall/Perl/prog.header +++ b/Shorewall/Perl/prog.header @@ -80,17 +80,6 @@ progress_message3() # $* = Message fi } -qt1() -{ - local status - - while [ 1 ]; do - "$@" >/dev/null 2>&1 - status=$? - [ $status -ne 4 ] && return $status - done -} - # # Set a standard chain's policy # diff --git a/Shorewall/Perl/prog.header6 b/Shorewall/Perl/prog.header6 index 64afcf75a..480d5b124 100644 --- a/Shorewall/Perl/prog.header6 +++ b/Shorewall/Perl/prog.header6 @@ -80,17 +80,6 @@ progress_message3() # $* = Message fi } -qt1() -{ - local status - - while [ 1 ]; do - "$@" >/dev/null 2>&1 - status=$? - [ $status -ne 4 ] && return $status - done -} - # # Set a standard chain's policy # diff --git a/Shorewall/lib.common b/Shorewall/lib.common index 060ede14b..f623f1c53 100644 --- a/Shorewall/lib.common +++ b/Shorewall/lib.common @@ -153,6 +153,17 @@ qt() "$@" >/dev/null 2>&1 } +qt1() +{ + local status + + while [ 1 ]; do + "$@" >/dev/null 2>&1 + status=$? + [ $status -ne 4 ] && return $status + done +} + # # Determine if Shorewall is "running" # diff --git a/Shorewall6/lib.common b/Shorewall6/lib.common index 83c3c2cb3..b33ccd0d7 100644 --- a/Shorewall6/lib.common +++ b/Shorewall6/lib.common @@ -175,6 +175,17 @@ qt() "$@" >/dev/null 2>&1 } +qt1() +{ + local status + + while [ 1 ]; do + "$@" >/dev/null 2>&1 + status=$? + [ $status -ne 4 ] && return $status + done +} + # # Determine if Shorewall is "running" #