[lxc-devel] [Lxc-devel] [PATCH 5/5] Again: Add pids of lxc-attach to the cgroup of container
"Axel Schöner"
axel.schoener at gmx.de
Sun Oct 2 21:31:51 UTC 2011
diff --git a/src/lxc/lxc_attach.c b/src/lxc/lxc_attach.c
index ed3d5a4..65cb101 100644
--- a/src/lxc/lxc_attach.c
+++ b/src/lxc/lxc_attach.c
@@ -85,7 +85,7 @@ int main(int argc, char *argv[], char *envp[])
curdir = get_current_dir_name();
- ret = lxc_attach(pid);
+ ret = lxc_attach(pid, my_args.name);
if (ret < 0) {
ERROR("failed to enter the namespace");
return -1;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_attach_cgroup_5of5_lxc_attach.c
Type: text/x-csrc
Size: 433 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20111002/5eb70b59/attachment.c>
More information about the lxc-devel
mailing list