aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 6f675ce69..069909118 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -273,13 +273,11 @@ static void
273raise_interrupt(void) 273raise_interrupt(void)
274{ 274{
275 int i; 275 int i;
276 sigset_t mask;
277 276
278 intpending = 0; 277 intpending = 0;
279 /* Signal is not automatically unmasked after it is raised, 278 /* Signal is not automatically unmasked after it is raised,
280 * do it ourself - unmask all signals */ 279 * do it ourself - unmask all signals */
281 sigemptyset(&mask); 280 sigprocmask_allsigs(SIG_UNBLOCK);
282 sigprocmask(SIG_SETMASK, &mask, NULL);
283 /* pendingsig = 0; - now done in onsig() */ 281 /* pendingsig = 0; - now done in onsig() */
284 282
285 i = EXSIG; 283 i = EXSIG;