2
0
mirror of git://github.com/lxc/lxc synced 2025-08-30 18:19:35 +00:00

Merge pull request #3987 from brauner/2021-10-01.fixes

start: make failure to apply core scheduling fatal
This commit is contained in:
Stéphane Graber
2021-10-01 10:33:23 -04:00
committed by GitHub

View 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");
}