From: Serge Hallyn Date: Thu, 10 Dec 2015 02:12:41 +0000 (+0000) Subject: fix 'lxc.mount.entry' key when clearing unexpanded config X-Git-Tag: lxc-1.0.9~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e88a5211772362a6dc0f9cd02925fe25250ff5e3;p=thirdparty%2Flxc.git fix 'lxc.mount.entry' key when clearing unexpanded config Closes #712 Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber --- diff --git a/src/lxc/confile.c b/src/lxc/confile.c index aa9c35580..d418ed22e 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -2252,7 +2252,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);