]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
attach: Fix querying for the current personality
authorStéphane Graber <stgraber@ubuntu.com>
Wed, 25 Jun 2014 19:33:30 +0000 (15:33 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 25 Jun 2014 19:34:46 +0000 (15:34 -0400)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/attach.c

index 3bab957536e9922a2dc608a4c9d9c493bdea8245..1a753c76f39cee49091d714b7ecb7f94c4dedccd 100644 (file)
@@ -621,7 +621,7 @@ static bool fetch_seccomp(const char *name, const char *lxcpath,
 
 static signed long get_personality(const char *name, const char *lxcpath)
 {
-       char *p = lxc_cmd_get_config_item(name, "lxc.personality", lxcpath);
+       char *p = lxc_cmd_get_config_item(name, "lxc.arch", lxcpath);
        signed long ret;
 
        if (!p)