Unverified Commit 21304bdd by Christian Brauner Committed by Stéphane Graber

confile: config_includefile()

parent 17444bef
......@@ -1983,11 +1983,15 @@ out:
}
static int config_includefile(const char *key, const char *value,
struct lxc_conf *lxc_conf)
struct lxc_conf *lxc_conf)
{
if (config_value_empty(value))
/* Set config value to default. */
if (config_value_empty(value)) {
lxc_clear_config_item(lxc_conf, key);
return 0;
}
/* Parse new config value. */
if (is_dir(value))
return do_includedir(value, lxc_conf);
......
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