Unverified Commit 17444bef by Christian Brauner Committed by Stéphane Graber

confile: config_fstab()

parent a32dbcd9
...@@ -1675,8 +1675,10 @@ out: ...@@ -1675,8 +1675,10 @@ out:
static int config_fstab(const char *key, const char *value, static int config_fstab(const char *key, const char *value,
struct lxc_conf *lxc_conf) struct lxc_conf *lxc_conf)
{ {
if (config_value_empty(value)) if (config_value_empty(value)) {
lxc_clear_config_item(lxc_conf, key);
return -1; return -1;
}
return config_path_item(&lxc_conf->fstab, value); return config_path_item(&lxc_conf->fstab, value);
} }
......
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