mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-02 15:51:59 +00:00
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:
parent
f73d368b72
commit
6be7389a70
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user