Skip to content

Commit

Permalink
conf: clear lxc.include
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner authored and stgraber committed Jul 1, 2017
1 parent 3287116 commit e098551
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lxc/conf.c
Expand Up @@ -4905,6 +4905,8 @@ int lxc_clear_simple_config_item(struct lxc_conf *c, const char *key)
c->monitor_unshare = 0;
} else if (strcmp(key, "lxc.pts") == 0) {
c->pts = 0;
} else if (strcmp(key, "lxc.include") == 0) {
lxc_clear_includes(c);
} else {
return -1;
}
Expand Down

0 comments on commit e098551

Please sign in to comment.