aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c2
1 files changed, 2 insertions, 0 deletions
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) {