mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-23 16:13:18 +01:00
Fix undefined return from open_file
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7761 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
59fc8380ba
commit
c300f63de7
@ -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 : '';
|
||||
}
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user