---
 src/PVE/LXC/CGroup.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/LXC/CGroup.pm b/src/PVE/LXC/CGroup.pm
index 19562c2..74d84c4 100644
--- a/src/PVE/LXC/CGroup.pm
+++ b/src/PVE/LXC/CGroup.pm
@@ -35,6 +35,7 @@ sub get_subdir {
     my $path = $entry->{$kind};
 
     return $path if defined $path;
+    return "/lxc/$self->{vmid}" if !$controller;
 
     $path = PVE::LXC::Command::get_cgroup_path(
        $self->{vmid},
-- 
2.20.1


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to