2
0
mirror of git://github.com/lxc/lxc synced 2025-08-29 19:09:52 +00:00

start: make failure to apply core scheduling fatal

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2021-10-01 10:27:04 +02:00
parent b8b2e1f331
commit ffd98e8c2e
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

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