From: Christian Brauner Date: Fri, 1 Oct 2021 08:27:04 +0000 (+0200) Subject: start: make failure to apply core scheduling fatal X-Git-Tag: lxc-5.0.0~78^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3987%2Fhead;p=thirdparty%2Flxc.git start: make failure to apply core scheduling fatal Signed-off-by: Christian Brauner --- diff --git a/src/lxc/start.c b/src/lxc/start.c index 74931368c..3ed928985 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -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"); }