mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-06 03:36:04 +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);
|
fclose(f);
|
||||||
|
|
||||||
f = fopen(subuidfile, "r");
|
f = fopen(subgidfile, "r");
|
||||||
if (!f) {
|
if (!f) {
|
||||||
ERROR("Your system is not configured with subgids");
|
ERROR("Your system is not configured with subgids");
|
||||||
free(gname);
|
free(gname);
|
||||||
|
Loading…
Reference in New Issue
Block a user