From 7584546d2fb902ad97c472013aada5fa2260c22c 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 3e062d8c4..78b3865dd 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1284,7 +1284,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);