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:
teastep 2007-03-25 17:07:29 +00:00
parent 6dc1c3027f
commit b56a534dc4

View File

@ -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';