From e9c5dc7ba38520d761cd57d9710c015f14f191d3 Mon Sep 17 00:00:00 2001 From: KATOH Yasufumi Date: Thu, 13 Mar 2014 17:58:43 +0900 Subject: [PATCH] Fix typo to checking newgidmap existing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: KATOH Yasufumi Acked-by: Stéphane Graber --- src/lxc/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");