]> git.ipfire.org Git - thirdparty/lxc.git/commit
clear ONLCR flag for container pty 2430/head
authorduguhaotian <duguhaotian@gmail.com>
Tue, 26 Jun 2018 01:57:04 +0000 (09:57 +0800)
committerduguhaotian <duguhaotian@gmail.com>
Tue, 26 Jun 2018 11:39:29 +0000 (19:39 +0800)
commite5adb2b5593fafbd088f232568af72fe9a9b1406
tree007feb0a1cd17e1639a074ca474f01e3f174fa14
parent62f76cc0f6151b7dde2826cd3f83e3bcf30b9649
clear ONLCR flag for container pty

now container pty output log, use \r\n as a newline flag.
This is a windows type, so we need to change it. By clear
ONLCR can reach it.

Signed-off-by: duguhaotian <duguhaotian@gmail.com>
src/lxc/attach.c
src/lxc/terminal.c