From c300f63de717f934993f685f91034613c16cd402 Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 25 Nov 2007 17:21:22 +0000 Subject: [PATCH] Fix undefined return from open_file git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7761 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Config.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 : ''; } #