diff options
Diffstat (limited to 'job.c')
-rw-r--r-- | job.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -221,7 +221,7 @@ reap_children (block, err) /* First, check for remote children. */ pid = remote_status (&exit_code, &exit_sig, &coredump, 0); - if (pid < 0) + if (pid <= 0) { /* No remote children. Check for local children. */ |