Commit 6be7389a by John Chen

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: 's avatarPochang Chen <johnchen902@gmail.com>
parent f73d368b
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment