mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 02:19:39 +00:00
confile: config_cgroup()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
33501e96b7
commit
fb0752be46
@ -1541,7 +1541,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);
|
||||||
|
Loading…
Reference in New Issue
Block a user