]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
start: don't fail when core scheduling isn't supported
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 1 Oct 2021 08:12:43 +0000 (10:12 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 1 Oct 2021 08:12:43 +0000 (10:12 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/start.c

index fcfdb226c173819e50e24b1ed0e90b5bb5b4ed09..f846af6d16cce27ade57b2841d92f537c604bb20 100644 (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");
        }