aboutsummaryrefslogtreecommitdiffstats
path: root/sh/input.c
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-06-02 15:08:30 -0400
committerMike Lockwood <lockwood@android.com>2010-06-02 15:08:30 -0400
commit1bc4eae3492b5e5fd8afdb3bb92c63287e8e994c (patch)
treec7770f66f91a04a305a63ce019213c7ce6d171d1 /sh/input.c
parentcbbe79add1410b53ec65936cfb1b74cac68467f0 (diff)
downloadsystem_core-1bc4eae3492b5e5fd8afdb3bb92c63287e8e994c.zip
system_core-1bc4eae3492b5e5fd8afdb3bb92c63287e8e994c.tar.gz
system_core-1bc4eae3492b5e5fd8afdb3bb92c63287e8e994c.tar.bz2
sh: Fix problem with stray '\r' character that was introduced in previous change
Change-Id: I53148089bcb1989c129c7af465c724495e13e156 Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'sh/input.c')
-rw-r--r--sh/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/input.c b/sh/input.c
index 9377bd0..bfb80f4 100644
--- a/sh/input.c
+++ b/sh/input.c
@@ -221,7 +221,7 @@ retry:
/* 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';
}