diff options
Diffstat (limited to '')
-rw-r--r-- | src/jobs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jobs.c b/src/jobs.c index 4f02e38..f0d34ab 100644 --- a/src/jobs.c +++ b/src/jobs.c @@ -648,7 +648,7 @@ out: return retval; sigout: - retval = 128 + pendingsigs; + retval = 128 + pending_sig; goto out; } @@ -1147,7 +1147,7 @@ waitproc(int block, int *status) sigfillset(&mask); sigprocmask(SIG_SETMASK, &mask, &oldmask); - while (!gotsigchld && !pendingsigs) + while (!gotsigchld && !pending_sig) sigsuspend(&oldmask); sigclearmask(); |