mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-10 10:14:07 +00:00
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:
parent
5b99af0079
commit
0d7cf7e9da
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user