mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 12:56:46 +00:00
conf: non-functional changes
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
f6104dffa3
commit
bc80f0980b
@ -3744,12 +3744,12 @@ int chown_mapped_root(char *path, struct lxc_conf *conf)
|
|||||||
char *chownpath = path;
|
char *chownpath = path;
|
||||||
|
|
||||||
if (!get_mapped_rootid(conf, ID_TYPE_UID, &val)) {
|
if (!get_mapped_rootid(conf, ID_TYPE_UID, &val)) {
|
||||||
ERROR("No mapping for container root");
|
ERROR("No uid mapping for container root");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
rootuid = (uid_t) val;
|
rootuid = (uid_t) val;
|
||||||
if (!get_mapped_rootid(conf, ID_TYPE_GID, &val)) {
|
if (!get_mapped_rootid(conf, ID_TYPE_GID, &val)) {
|
||||||
ERROR("No mapping for container root");
|
ERROR("No gid mapping for container root");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
rootgid = (gid_t) val;
|
rootgid = (gid_t) val;
|
||||||
|
Loading…
Reference in New Issue
Block a user