From 817a20296fd9e4e8eed095836d7dc28183794247 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 26 Jun 2018 15:35:17 +0200 Subject: randomconfig fixes Signed-off-by: Denys Vlasenko --- shell/hush.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shell') diff --git a/shell/hush.c b/shell/hush.c index c77700175..0b36dad80 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) { -- cgit v1.2.3-55-g6feb