From b47f83c9f7d8ad473df9e28fcfca48b00c4c212f Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Mon, 29 May 2017 14:39:56 +0200 Subject: [PATCH] confile: config_fstab() Signed-off-by: Christian Brauner --- src/lxc/confile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 440fc9a00..7cdc3d3d4 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1420,8 +1420,9 @@ out: static int config_fstab(const char *key, const char *value, struct lxc_conf *lxc_conf) { - if (!value || strlen(value) == 0) + if (config_value_empty(value)) return -1; + return config_path_item(&lxc_conf->fstab, value); } -- 2.47.2