]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/terminal.c
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>
Mon, 11 Oct 2021 13:22:52 +0000 (15:22 +0200)
commit0cf017f071a49b79d4f81700feb33985a9acbcc5
tree1e8d9c7419574757ab2417b1dd725830b69e36f5
parent15f29e6fb7af55cb77d47cc4440769f9b5e2a44a
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