mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 03:44:32 +00:00
Fix typo to checking newgidmap existing
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp> Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
612c49e1cd
commit
e9c5dc7ba3
@ -3212,7 +3212,7 @@ int lxc_map_ids(struct lxc_list *idmap, pid_t pid)
|
||||
int ret = 0;
|
||||
enum idtype type;
|
||||
char *buf = NULL, *pos;
|
||||
int use_shadow = (on_path("newuidmap") && on_path("newuidmap"));
|
||||
int use_shadow = (on_path("newuidmap") && on_path("newgidmap"));
|
||||
|
||||
if (!use_shadow && geteuid()) {
|
||||
ERROR("Missing newuidmap/newgidmap");
|
||||
|
Loading…
Reference in New Issue
Block a user