]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix typo to checking newgidmap existing
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Thu, 13 Mar 2014 08:58:43 +0000 (17:58 +0900)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 13 Mar 2014 14:10:01 +0000 (10:10 -0400)
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/conf.c

index 710b961936f5490d0e8ebfb6be3daa2ace7ea4dc..a9d64baf46fcdb391b6270aa17f14065252ec877 100644 (file)
@@ -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");