Commit 6b7ff144 authored by Dietmar Maurer's avatar Dietmar Maurer

small cleanup

parent 4a6712df
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment