Disable LF -> CRLF conversion when attached to Docker pseudoterminal

This commit is contained in:
Adam Harrison committed 2015-03-30 13:09:11 +01:00
1 parent 37e6647b0b
commit 2acefd7df3
1 file changed
+1
+1
View File
@@ -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 $?