Unverified Commit 20f3261a by John Chen Committed by Stéphane Graber

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 8bb16503
......@@ -4559,7 +4559,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