diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 2091dcb8a..c42db730c 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -2889,8 +2889,9 @@ sub unsupported_yes_no_warning( $ ) { # Process the params file # sub get_params() { - if ( my $fn = find_file 'params' ) { + my $fn = find_file 'params'; + if ( -f $fn ) { progress_message2 "Processing $fn ..."; my $command = "$globals{SHAREDIRPL}/getparams $fn " . join( ':', @config_path );