mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-02 19:19:31 +00:00
small cleanup
This commit is contained in:
parent
b71c468669
commit
4e77f033da
@ -167,7 +167,7 @@ sub read_container_network_usage {
|
||||
|
||||
# fixme: can we get that info directly (with vzctl exec)?
|
||||
my $cmd = ['/usr/sbin/vzctl', 'exec', $vmid, '/bin/cat', '/proc/net/dev'];
|
||||
eval { PVE::Tools::run_command($cmd, outfunc => $netparser); };
|
||||
eval { run_command($cmd, outfunc => $netparser); };
|
||||
my $err = $@;
|
||||
syslog('err', $err) if $err;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user