2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 02:17:58 +00:00

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

View File

@@ -1567,7 +1567,7 @@ static int core_scheduling(struct lxc_handler *handler)
ret = core_scheduling_cookie_create_threadgroup(handler->pid); ret = core_scheduling_cookie_create_threadgroup(handler->pid);
if (ret < 0) { if (ret < 0) {
if (ret == -EINVAL) 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"); return syserror("Failed to create new core scheduling domain");
} }