]> git.proxmox.com Git - mirror_lxc.git/commitdiff
start: log error when failing to create cgroup
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 30 Mar 2020 16:16:16 +0000 (18:16 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 30 Mar 2020 16:17:53 +0000 (18:17 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/start.c

index c8ebe77265e9e2f6c6c8cb568b4faddd678ea7ce..328516c976416d76012b317442cc3f1c2b73a882 100644 (file)
@@ -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;
        }