From: Christian Brauner Date: Mon, 29 May 2017 12:37:42 +0000 (+0200) Subject: confile: config_group() X-Git-Tag: lxc-2.1.0~110^2~164 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7584546d2fb902ad97c472013aada5fa2260c22c;p=thirdparty%2Flxc.git confile: config_group() Signed-off-by: Christian Brauner --- 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);