start: don't fail when core scheduling isn't supported

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2021-10-01 10:12:43 +02:00
parent 47bfecf510
commit 565b6e92d3
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("The kernel does not support core scheduling");
return sysinfo_ret(0, "The kernel does not support core scheduling");
return syserror("Failed to create new core scheduling domain");
}