about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
Diffstat (limited to 'Functions')
-rw-r--r--Functions/TCP/tcp_read2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/TCP/tcp_read b/Functions/TCP/tcp_read
index aa30b723d..7d8acf865 100644
--- a/Functions/TCP/tcp_read
+++ b/Functions/TCP/tcp_read
@@ -216,7 +216,7 @@ while (( ${#read_fds} )); do
     fi
 
     tcp_output -P "${TCP_PROMPT=<-[%s] }" -S $sess -F $read_fd \
-        $noprint "$line"
+        $noprint -- "$line"
     # REPLY is now set to the line with an appropriate prompt.
     tcp_lines+=($REPLY)
     typeset -g TCP_LINE="$REPLY" TCP_LINE_FD="$read_fd"