From 596c06fe7cede33473f6341945382531b7936998 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 5be746eb3..138037361 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1193,7 +1193,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') -- 2.47.2