]> git.proxmox.com Git - mirror_lxc.git/commitdiff
start: make failure to apply core scheduling fatal
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 1 Oct 2021 08:27:04 +0000 (10:27 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 1 Oct 2021 13:35:03 +0000 (15:35 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/start.c

index 74931368c2275009edd17b726441e2f49ad9045f..3ed92898583465388142cccb47b09fbf5488b715 100644 (file)
@@ -1567,7 +1567,7 @@ static int core_scheduling(struct lxc_handler *handler)
        ret = core_scheduling_cookie_create_threadgroup(handler->pid);
        if (ret < 0) {
                if (ret == -EINVAL)
-                       return sysinfo_ret(0, "The kernel does not support core scheduling");
+                       return syserror("The kernel does not support core scheduling");
 
                return syserror("Failed to create new core scheduling domain");
        }