2
0
mirror of git://github.com/lxc/lxc synced 2025-08-30 20:49:31 +00:00

terminal: move native terminal allocation from error logging to info

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner
2021-07-31 10:17:36 +02:00
parent e33da9473f
commit 4c75aa656c

View 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);