sh: Fix problem with stray '\r' character that was introduced in previous change

Change-Id: I53148089bcb1989c129c7af465c724495e13e156
Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
Mike Lockwood 2010-06-02 15:08:30 -04:00
parent cbbe79add1
commit 1bc4eae349
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}