]> git.proxmox.com Git - pve-container.git/commitdiff
command: actually use the provided command id
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 6 Apr 2020 07:50:45 +0000 (09:50 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 6 Apr 2020 10:44:16 +0000 (12:44 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/PVE/LXC/Command.pm

index a09b2be1932f5dc58b47b9fbe530b06b81f8b7f8..825c354aad1c4f2e22bd4dd2f8f3dee32445309e 100644 (file)
@@ -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);