mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 07:54:52 +00:00
fix warning about non-existent file
This commit is contained in:
parent
17d27a3748
commit
6bd689ed0a
@ -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…
Reference in New Issue
Block a user