Skip to content

Commit

Permalink
fix 'lxc.mount.entry' key when clearing unexpanded config
Browse files Browse the repository at this point in the history
Closes #712

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
  • Loading branch information
hallyn authored and stgraber committed Dec 10, 2015
1 parent f8a4168 commit a7c6b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/confile.c
Expand Up @@ -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);
Expand Down

0 comments on commit a7c6b8c

Please sign in to comment.