Commit a7c6b8c7 by Serge Hallyn Committed by Stéphane Graber

fix 'lxc.mount.entry' key when clearing unexpanded config

parent f8a41688
...@@ -2533,7 +2533,7 @@ int lxc_clear_config_item(struct lxc_conf *c, const char *key) ...@@ -2533,7 +2533,7 @@ int lxc_clear_config_item(struct lxc_conf *c, const char *key)
return lxc_clear_config_keepcaps(c); return lxc_clear_config_keepcaps(c);
else if (strncmp(key, "lxc.cgroup", 10) == 0) else if (strncmp(key, "lxc.cgroup", 10) == 0)
return lxc_clear_cgroups(c, key); 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); return lxc_clear_mount_entries(c);
else if (strcmp(key, "lxc.mount.auto") == 0) else if (strcmp(key, "lxc.mount.auto") == 0)
return lxc_clear_automounts(c); return lxc_clear_automounts(c);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment