confile: config_cgroup()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2017-05-29 14:38:50 +02:00
parent 33501e96b7
commit fb0752be46
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

@ -1541,7 +1541,7 @@ static int config_cgroup(const char *key, const char *value,
struct lxc_list *cglist = NULL;
struct lxc_cgroup *cgelem = NULL;
if (!value || strlen(value) == 0)
if (config_value_empty(value))
return lxc_clear_cgroups(lxc_conf, key);
subkey = strstr(key, token);