attach: Fix querying for the current personality

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
Stéphane Graber 2014-06-25 15:33:30 -04:00
parent 5b99af0079
commit 0d7cf7e9da

View 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) 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; signed long ret;
if (!p) if (!p)