fix warning about non-existent file
This commit is contained in:
parent
3ffb722d3c
commit
a1f1b60c0d
@ -202,7 +202,7 @@ sub read_proxy_config {
|
||||
$shcmd .= 'echo \"DENY_FROM:\$DENY_FROM\";';
|
||||
$shcmd .= 'echo \"POLICY:\$POLICY\";';
|
||||
|
||||
my $data = `bash -c "$shcmd"`;
|
||||
my $data = -f $conffile ? `bash -c "$shcmd"` : '';
|
||||
|
||||
my $res = {};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user