forked from extern/shorewall_code
Correct emitted code in 'setup_netfilter()' -- Take 2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5685 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
6dc1c3027f
commit
b56a534dc4
@ -1434,7 +1434,7 @@ sub create_netfilter_load() {
|
|||||||
if ( $slowstart ) {
|
if ( $slowstart ) {
|
||||||
emit ' exec 3>&-';
|
emit ' exec 3>&-';
|
||||||
emit '';
|
emit '';
|
||||||
emit 'iptables-restore < $TEMPFILE' if $slowstart;
|
emit 'iptables-restore < $TEMPFILE';
|
||||||
}
|
}
|
||||||
|
|
||||||
emit 'if [ $? != 0 ]; then';
|
emit 'if [ $? != 0 ]; then';
|
||||||
|
Loading…
Reference in New Issue
Block a user