diff --git a/Shorewall/Perl/Shorewall/Compiler.pm b/Shorewall/Perl/Shorewall/Compiler.pm index a77e99458..0863bc0d9 100644 --- a/Shorewall/Perl/Shorewall/Compiler.pm +++ b/Shorewall/Perl/Shorewall/Compiler.pm @@ -243,10 +243,10 @@ sub generate_script_2() { my $global_variables = have_global_variables; + push_indent; + if ( $global_variables ) { - push_indent; - emit( 'case $COMMAND in' ); push_indent;