aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index b9bdd64e5..c400612d9 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -827,9 +827,11 @@ static void
827raise_interrupt(void) 827raise_interrupt(void)
828{ 828{
829 pending_int = 0; 829 pending_int = 0;
830#if !ENABLE_PLATFORM_MINGW32
830 /* Signal is not automatically unmasked after it is raised, 831 /* Signal is not automatically unmasked after it is raised,
831 * do it ourself - unmask all signals */ 832 * do it ourself - unmask all signals */
832 sigprocmask_allsigs(SIG_UNBLOCK); 833 sigprocmask_allsigs(SIG_UNBLOCK);
834#endif
833 /* pending_sig = 0; - now done in signal_handler() */ 835 /* pending_sig = 0; - now done in signal_handler() */
834 836
835 if (!(rootshell && iflag)) { 837 if (!(rootshell && iflag)) {