mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-30 03:23:47 +01:00
Correct handling of params file opens.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
ec75c8aa86
commit
4cd77bf9aa
@ -2889,8 +2889,9 @@ sub unsupported_yes_no_warning( $ ) {
|
|||||||
# Process the params file
|
# Process the params file
|
||||||
#
|
#
|
||||||
sub get_params() {
|
sub get_params() {
|
||||||
if ( my $fn = find_file 'params' ) {
|
my $fn = find_file 'params';
|
||||||
|
|
||||||
|
if ( -f $fn ) {
|
||||||
progress_message2 "Processing $fn ...";
|
progress_message2 "Processing $fn ...";
|
||||||
|
|
||||||
my $command = "$globals{SHAREDIRPL}/getparams $fn " . join( ':', @config_path );
|
my $command = "$globals{SHAREDIRPL}/getparams $fn " . join( ':', @config_path );
|
||||||
|
Loading…
Reference in New Issue
Block a user