mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 00:27:05 +00:00
start: do not initialize cgroup_ops twice
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
40a6212ec9
commit
a7c4ddea9f
@ -1694,11 +1694,6 @@ static int lxc_spawn(struct lxc_handler *handler)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!cgroup_init(handler)) {
|
|
||||||
ERROR("Failed initializing cgroup support");
|
|
||||||
goto out_delete_net;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!cgroup_ops->create(cgroup_ops, handler)) {
|
if (!cgroup_ops->create(cgroup_ops, handler)) {
|
||||||
ERROR("Failed creating cgroups");
|
ERROR("Failed creating cgroups");
|
||||||
goto out_delete_net;
|
goto out_delete_net;
|
||||||
|
Loading…
Reference in New Issue
Block a user