Commit d7085142 by KATOH Yasufumi Committed by Stéphane Graber

Fix typo to checking newgidmap existing

parent 9b1f761a
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment