Skip to content

Commit

Permalink
start: log error when failing to create cgroup
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Mar 30, 2020
1 parent d1783ef commit b1ee458
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lxc/start.c
Expand Up @@ -1703,6 +1703,7 @@ static int lxc_spawn(struct lxc_handler *handler)
}

if (!cgroup_ops->payload_enter(cgroup_ops, handler)) {
ERROR("Failed to enter cgroups");
goto out_delete_net;
}

Expand Down

0 comments on commit b1ee458

Please sign in to comment.