[pve-devel] [PATCH container 4/5] command: actually use the provided command id

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Apr 6 09:50:45 CEST 2020


Signed-off-by: Wolfgang Bumiller <w.bumiller at 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





More information about the pve-devel mailing list