From: Stéphane Graber Date: Wed, 25 Jun 2014 19:33:30 +0000 (-0400) Subject: attach: Fix querying for the current personality X-Git-Tag: lxc-1.1.0.alpha1~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d7cf7e9da5f80183c6f2332ddc4f38d3cf02fe7;p=thirdparty%2Flxc.git attach: Fix querying for the current personality Signed-off-by: Stéphane Graber Acked-by: Serge Hallyn --- diff --git a/src/lxc/attach.c b/src/lxc/attach.c index 3bab95753..1a753c76f 100644 --- a/src/lxc/attach.c +++ b/src/lxc/attach.c @@ -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)