]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
terminal: move native terminal allocation from error logging to info
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 31 Jul 2021 08:17:36 +0000 (10:17 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 31 Jul 2021 08:17:36 +0000 (10:17 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/terminal.c

index 13bc7212f3ceacb39cc531bb52dd14b023887e0f..dcdb51df5f51c769a0194264c5cfcf619bb9c6a9 100644 (file)
@@ -1026,7 +1026,7 @@ static int lxc_terminal_create_native(const char *name, const char *lxcpath,
 
        devpts_fd = lxc_cmd_get_devpts_fd(name, lxcpath);
        if (devpts_fd < 0)
-               return log_error_errno(-1, errno, "Failed to receive devpts fd");
+               return sysinfo("Failed to receive devpts fd");
 
        ret = lxc_devpts_terminal(devpts_fd, &terminal->ptx, &terminal->pty,
                                  &terminal->pty_nr, true);