confile: config_fstab()

parent 4100d1a7
...@@ -1863,8 +1863,10 @@ out: ...@@ -1863,8 +1863,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