mirror of
git://github.com/lxc/lxc
synced 2025-08-30 14:42:03 +00:00
fix 'lxc.mount.entry' key when clearing unexpanded config
Closes #712 Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
f8a41688ec
commit
a7c6b8c7b7
@ -2533,7 +2533,7 @@ int lxc_clear_config_item(struct lxc_conf *c, const char *key)
|
||||
return lxc_clear_config_keepcaps(c);
|
||||
else if (strncmp(key, "lxc.cgroup", 10) == 0)
|
||||
return lxc_clear_cgroups(c, key);
|
||||
else if (strcmp(key, "lxc.mount.entries") == 0)
|
||||
else if (strcmp(key, "lxc.mount.entry") == 0)
|
||||
return lxc_clear_mount_entries(c);
|
||||
else if (strcmp(key, "lxc.mount.auto") == 0)
|
||||
return lxc_clear_automounts(c);
|
||||
|
Loading…
x
Reference in New Issue
Block a user