From 1bc4eae3492b5e5fd8afdb3bb92c63287e8e994c Mon Sep 17 00:00:00 2001 From: Mike Lockwood Date: Wed, 2 Jun 2010 15:08:30 -0400 Subject: [PATCH] sh: Fix problem with stray '\r' character that was introduced in previous change Change-Id: I53148089bcb1989c129c7af465c724495e13e156 Signed-off-by: Mike Lockwood --- sh/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/input.c b/sh/input.c index 9377bd02..bfb80f46 100644 --- a/sh/input.c +++ b/sh/input.c @@ -221,7 +221,7 @@ preadfd(void) /* Add non-blank lines to history. */ linenoiseHistoryAdd(rl_start); } - out2str("\r\n"); + out2str("\n"); /* Client expects a newline at end of input, doesn't expect null */ rl_start[el_len++] = '\n'; }