]> git.ipfire.org Git - thirdparty/lxc.git/commit
terminal: log at warning message
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 11 Oct 2021 13:21:45 +0000 (15:21 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 14 Oct 2021 15:30:40 +0000 (17:30 +0200)
commitb108edb7446c68abe87f60092e94d911dd273fe5
tree68c57e60c28b1f28b0f397590ec62225f471bad0
parent7a73fa9f2ab8dcbcec1da4a4a4330c110df998fd
terminal: log at warning message

The lxc_devpts_terminal() helper is called in contexts where it can fail
due to various reasons but where we safely fallback to allocating
terminal devices on the host. Logging error messages irritates users so
just log warning messages.

Link: https://discuss.linuxcontainers.org/t/lxc-attach-error-failed-to-open-terminal-multiplexer-device
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/terminal.c