From: Christian Brauner Date: Mon, 29 May 2017 12:40:18 +0000 (+0200) Subject: confile: config_mount_auto() X-Git-Tag: lxc-2.1.0~110^2~157 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ede57f73e102c1f4d46a4d047ebc8c80f7839538;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 7958f45dd..79275bd29 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1795,7 +1795,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; }