aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index a19a3c686..dcc73031f 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -955,7 +955,8 @@ raise_interrupt(void)
955 signal(SIGINT, SIG_DFL); 955 signal(SIGINT, SIG_DFL);
956 raise(SIGINT); 956 raise(SIGINT);
957#else 957#else
958 exit(SIGINT << 24); 958 fflush_all();
959 _exit(SIGINT << 24);
959#endif 960#endif
960 } 961 }
961#if ENABLE_PLATFORM_MINGW32 962#if ENABLE_PLATFORM_MINGW32