From 24d30275fa1c9b1d9b1476a295d0a3707e296b9e Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 3 Apr 2012 17:08:14 -0700 Subject: [PATCH] Correct syntax errors in the generated script Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Chains.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index 6d594df3a..d2c1e3593 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -6449,12 +6449,12 @@ sub ensure_ipset( $ ) { if ( have_capability 'IPSET_V5' ) { emit ( qq( if ! qt \$IPSET -L $set -n; then) , qq( error_message "WARNING: ipset $set does not exist; creating it as an hash:ip set") , - qq( \$IPSET -N $set hash:ip family inet") , + qq( \$IPSET -N $set hash:ip family inet) , qq( fi) ); } else { emit ( qq( if ! qt \$IPSET -L $set -n; then) , qq( error_message "WARNING: ipset $set does not exist; creating it as an iphash set") , - qq( \$IPSET -N $set iphash") , + qq( \$IPSET -N $set iphash) , qq( fi) ); } } else {