fix warning about non-existent file

This commit is contained in:
Dietmar Maurer 2013-06-27 15:19:24 +02:00
parent 3ffb722d3c
commit a1f1b60c0d

View File

@ -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 = {};