From 700d65410559d962a9531cdf5e0b4c1f97705bd2 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Mon, 29 May 2017 14:37:42 +0200 Subject: [PATCH] confile: config_group() 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 40b4f2e42..5be746eb3 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1098,7 +1098,7 @@ static int config_group(const char *key, const char *value, struct lxc_list *grouplist; int ret = -1; - if (!strlen(value)) + if (config_value_empty(value)) return lxc_clear_groups(lxc_conf); groups = strdup(value); -- 2.47.2