From 2acefd7df353bfbcfc5bbac9556e186a8dcbf413 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Mon, 30 Mar 2015 13:09:11 +0100 Subject: [PATCH] Disable LF -> CRLF conversion when attached to Docker pseudoterminal --- weave | 1 + 1 file changed, 1 insertion(+) diff --git a/weave b/weave index 8423ca75..9d8866eb 100755 --- a/weave +++ b/weave @@ -70,6 +70,7 @@ exec_remote() { if [ "$1" = "--local" ]; then LOCAL="$1" shift 1 + [ -t 0 ] && stty -onlcr elif [ "$1" != "run" ]; then exec_remote "$@" exit $?