diff --git a/Shorewall-perl/Shorewall/Config.pm b/Shorewall-perl/Shorewall/Config.pm index e7c313874..852c16700 100644 --- a/Shorewall-perl/Shorewall/Config.pm +++ b/Shorewall-perl/Shorewall/Config.pm @@ -932,7 +932,7 @@ sub open_file( $ ) { fatal_error 'Internal Error in open_file()' if defined $currentfile; - do_open_file $fname if -f $fname && -s _; + -f $fname && -s _ ? do_open_file $fname : ''; } #