aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index a748b003f..0863689e8 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -4828,7 +4828,7 @@ static BOOL WINAPI ctrl_handler(DWORD dwCtrlType)
4828# if ENABLE_FEATURE_EDITING 4828# if ENABLE_FEATURE_EDITING
4829 bb_got_signal = SIGINT; /* for read_line_input: "we got a signal" */ 4829 bb_got_signal = SIGINT; /* for read_line_input: "we got a signal" */
4830# endif 4830# endif
4831 if (!suppress_int) 4831 if (!suppress_int && !(rootshell && iflag))
4832 raise_interrupt(); 4832 raise_interrupt();
4833 pending_int = 1; 4833 pending_int = 1;
4834 return TRUE; 4834 return TRUE;