From: Christian Brauner Date: Sun, 26 Aug 2018 16:49:21 +0000 (+0200) Subject: start: do not initialize cgroup_ops twice X-Git-Tag: lxc-3.1.0~129^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7c4ddea9f4677f65012502905842b9a9f26966c;p=thirdparty%2Flxc.git start: do not initialize cgroup_ops twice Signed-off-by: Christian Brauner --- diff --git a/src/lxc/start.c b/src/lxc/start.c index 6b66e4fb5..c9200f49b 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -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)) { ERROR("Failed creating cgroups"); goto out_delete_net;