mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-13 19:26:15 +00:00
Fix get_config_item for sys:mixed
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com> Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
50066f4f7e
commit
10f277105b
@ -2211,6 +2211,7 @@ static int lxc_get_auto_mounts(struct lxc_conf *c, char *retv, int inlen)
|
||||
switch (c->auto_mounts & LXC_AUTO_SYS_MASK) {
|
||||
case LXC_AUTO_SYS_RO: strprint(retv, inlen, "%ssys:ro", sep); sep = " "; break;
|
||||
case LXC_AUTO_SYS_RW: strprint(retv, inlen, "%ssys:rw", sep); sep = " "; break;
|
||||
case LXC_AUTO_SYS_MIXED: strprint(retv, inlen, "%ssys:mixed", sep); sep = " "; break;
|
||||
default: break;
|
||||
}
|
||||
switch (c->auto_mounts & LXC_AUTO_CGROUP_MASK) {
|
||||
|
Loading…
Reference in New Issue
Block a user