From: Christian Brauner Date: Mon, 29 May 2017 12:40:32 +0000 (+0200) Subject: confile: config_mount() X-Git-Tag: lxc-2.1.0~110^2~156 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=67cbe21aac7442954aef2cf59e06e47f8d6a7cce;p=thirdparty%2Flxc.git confile: config_mount() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 79275bd29..5440002f9 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1838,7 +1838,7 @@ static int config_mount(const char *key, const char *value, char *mntelem; struct lxc_list *mntlist; - if (!value || strlen(value) == 0) + if (config_value_empty(value)) return lxc_clear_mount_entries(lxc_conf); mntlist = malloc(sizeof(*mntlist));