From 0d7cf7e9da5f80183c6f2332ddc4f38d3cf02fe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Wed, 25 Jun 2014 15:33:30 -0400 Subject: [PATCH] attach: Fix querying for the current personality MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber Acked-by: Serge Hallyn --- src/lxc/attach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)