diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 55de873d5..fc80b01e1 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -4560,7 +4560,7 @@ void suggest_default_idmap(void) } fclose(f); - f = fopen(subuidfile, "r"); + f = fopen(subgidfile, "r"); if (!f) { ERROR("Your system is not configured with subgids"); free(gname);