Fix opening wrong file in suggest_default_idmap

Fixing the typo making `suggest_default_idmap` open `subuidfile`
instead of `subgidfile` to read subgid information.

Signed-off-by: Pochang Chen <johnchen902@gmail.com>
This commit is contained in:
John Chen 2017-03-22 11:03:59 +08:00
parent f73d368b72
commit 6be7389a70

View File

@ -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);