diff options
Diffstat (limited to 'bin/sh')
-rw-r--r-- | bin/sh/trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/trap.c b/bin/sh/trap.c index 834992f..94cf129 100644 --- a/bin/sh/trap.c +++ b/bin/sh/trap.c @@ -416,6 +416,7 @@ dotrap(void) in_dotrap++; for (;;) { + pendingsigs = 0; for (i = 1; i < NSIG; i++) { if (gotsig[i]) { gotsig[i] = 0; @@ -467,7 +468,6 @@ dotrap(void) break; } in_dotrap--; - pendingsigs = 0; } |