From: Christian Brauner Date: Mon, 29 May 2017 12:40:32 +0000 (+0200) Subject: confile: config_mount() X-Git-Tag: lxc-1.0.11~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=952847ca72521dc5006f0f7bfb0c46ae7a227fc1;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 8b2ec0ddc..b53da2dbf 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1497,7 +1497,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));