aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 0863689e8..77670ebb4 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -15462,7 +15462,10 @@ readcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
15462 write(STDOUT_FILENO, "^C", 2); 15462 write(STDOUT_FILENO, "^C", 2);
15463 pending_int = 1; 15463 pending_int = 1;
15464 dotrap(); 15464 dotrap();
15465 goto again; 15465 if (!(rootshell && iflag))
15466 return (uintptr_t)0;
15467 else
15468 goto again;
15466 } else if (iflag) { 15469 } else if (iflag) {
15467 raise_interrupt(); 15470 raise_interrupt();
15468 } else { 15471 } else {