From: KATOH Yasufumi Date: Thu, 13 Mar 2014 08:58:43 +0000 (+0900) Subject: Fix typo to checking newgidmap existing X-Git-Tag: lxc-1.1.0.alpha1~206 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9c5dc7ba38520d761cd57d9710c015f14f191d3;p=thirdparty%2Flxc.git Fix typo to checking newgidmap existing Signed-off-by: KATOH Yasufumi Acked-by: Stéphane Graber --- diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 710b96193..a9d64baf4 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -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");