From 33501e96b7e6758e4bc83d74d6490248bb0ac379 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Mon, 29 May 2017 14:38:26 +0200 Subject: [PATCH] confile: config_loglevel() Signed-off-by: Christian Brauner --- src/lxc/confile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 359fcbba4..113ecfc27 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1421,7 +1421,7 @@ static int config_loglevel(const char *key, const char *value, { int newlevel; - if (!value || strlen(value) == 0) + if (config_value_empty(value)) return 0; if (value[0] >= '0' && value[0] <= '9') {