From 46f3de306f867ab188e07c7d351d970e157e0dbc Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Tue, 30 May 2017 04:54:21 +0200 Subject: [PATCH] confile: config_fstab() Signed-off-by: Christian Brauner --- src/lxc/confile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 87d0e6eaf..8af729ea5 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1863,8 +1863,10 @@ out: static int config_fstab(const char *key, const char *value, 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 config_path_item(&lxc_conf->fstab, value); }