diff --git a/New/Shorewall/Config.pm b/New/Shorewall/Config.pm index f35db0281..0a477c046 100644 --- a/New/Shorewall/Config.pm +++ b/New/Shorewall/Config.pm @@ -310,8 +310,8 @@ sub read_a_line { fatal_error "$filename not found" unless ( -f $filename ); push @filestack, $currentfile; - - $currentfile = ''; + + $currentfile = undef; open $currentfile, $filename or fatal_error "Unable to open $filename: $!"; } else {