Unverified Commit 5e78a88a by Christian Brauner Committed by Stéphane Graber

confile: config_cgroup()

parent 4433b41a
...@@ -1457,7 +1457,7 @@ static int config_cgroup(const char *key, const char *value, ...@@ -1457,7 +1457,7 @@ static int config_cgroup(const char *key, const char *value,
struct lxc_list *cglist = NULL; struct lxc_list *cglist = NULL;
struct lxc_cgroup *cgelem = NULL; struct lxc_cgroup *cgelem = NULL;
if (!value || strlen(value) == 0) if (config_value_empty(value))
return lxc_clear_cgroups(lxc_conf, key); return lxc_clear_cgroups(lxc_conf, key);
subkey = strstr(key, token); subkey = strstr(key, token);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment