From: Christian Brauner Date: Mon, 29 May 2017 12:40:18 +0000 (+0200) Subject: confile: config_mount_auto() X-Git-Tag: lxc-1.0.11~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c0c7aff69acd063650f4db0ac07aab9992a1f3c;p=thirdparty%2Flxc.git confile: config_mount_auto() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 7cdc3d3d4..8b2ec0ddc 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1454,7 +1454,7 @@ static int config_mount_auto(const char *key, const char *value, int i; int ret = -1; - if (!value || strlen(value) == 0) { + if (config_value_empty(value)) { lxc_conf->auto_mounts = 0; return 0; }