From 4e77f033da398f6dbe5673ca86f0f3e5a5cf1acb Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 9 Oct 2014 09:23:00 +0200 Subject: [PATCH] small cleanup --- PVE/OpenVZ.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/OpenVZ.pm b/PVE/OpenVZ.pm index 25775616..71bc2a5a 100644 --- a/PVE/OpenVZ.pm +++ b/PVE/OpenVZ.pm @@ -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;