From: Christian Brauner Date: Sat, 31 Jul 2021 08:17:36 +0000 (+0200) Subject: terminal: move native terminal allocation from error logging to info X-Git-Tag: lxc-5.0.0~126^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23cc33cd9051dbfc3ef3cadf4bdbc6cc0bcc7c98;p=thirdparty%2Flxc.git terminal: move native terminal allocation from error logging to info Signed-off-by: Christian Brauner --- diff --git a/src/lxc/terminal.c b/src/lxc/terminal.c index 13bc7212f..dcdb51df5 100644 --- a/src/lxc/terminal.c +++ b/src/lxc/terminal.c @@ -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);