Signed-off-by: Wolfgang Bumiller <w.bumil...@proxmox.com>
---
 src/PVE/LXC/Command.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/LXC/Command.pm b/src/PVE/LXC/Command.pm
index a09b2be..825c354 100644
--- a/src/PVE/LXC/Command.pm
+++ b/src/PVE/LXC/Command.pm
@@ -128,7 +128,7 @@ sub raw_command_transaction($$;$) {
 
     $data //= '';
 
-    my $req = _lxc_cmd_req(LXC_CMD_GET_CGROUP, length($data));
+    my $req = _lxc_cmd_req($cmd, length($data));
     _do_send($socket, $req);
     if (length($data) > 0) {
        _do_send($socket, $data);
-- 
2.20.1


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

Reply via email to