]> git.proxmox.com Git - pve-manager.git/commitdiff
small cleanup
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 9 Oct 2014 07:23:00 +0000 (09:23 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 9 Oct 2014 07:23:00 +0000 (09:23 +0200)
PVE/OpenVZ.pm

index 2577561654f9815cb9e94fb10c777ef2f8f6f714..71bc2a5a695141587c055e24b69375abf3e54a0b 100644 (file)
@@ -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;