From: Wolfgang Bumiller Date: Mon, 6 Apr 2020 07:50:45 +0000 (+0200) Subject: command: actually use the provided command id X-Git-Url: https://git.proxmox.com/?p=pve-container.git;a=commitdiff_plain;h=abdddd41b6d300703370aaac964558297d30f18d command: actually use the provided command id Signed-off-by: Wolfgang Bumiller --- 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);