From a7c6b8c7b731dcb44cd9e1ce17db284ae2a2a0cf Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Thu, 10 Dec 2015 02:12:41 +0000 Subject: [PATCH] fix 'lxc.mount.entry' key when clearing unexpanded config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #712 Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber --- src/lxc/confile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/confile.c b/src/lxc/confile.c index ce6786cea..1185d7df6 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -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);