summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko2018-06-26 15:35:17 +0200
committerDenys Vlasenko2018-06-26 15:35:17 +0200
commit817a20296fd9e4e8eed095836d7dc28183794247 (patch)
tree600cc8f51d3d41ae4e893a452d222a7abc504d87 /shell
parent5cb4f9081f3f6575da052b03cb227a7a488b0a8b (diff)
downloadbusybox-817a20296fd9e4e8eed095836d7dc28183794247.zip
busybox-817a20296fd9e4e8eed095836d7dc28183794247.tar.gz
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c
index c777001..0b36dad 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -4577,7 +4577,9 @@ static int add_till_closing_bracket(o_string *dest, struct in_str *input, unsign
# endif
end_ch &= (DOUBLE_CLOSE_CHAR_FLAG - 1);
+#if ENABLE_HUSH_INTERACTIVE
G.promptmode = 1; /* PS2 */
+#endif
debug_printf_prompt("%s promptmode=%d\n", __func__, G.promptmode);
while (1) {