diff options
author | axel <axel@liljencrantz.se> | 2006-01-16 10:19:12 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-01-16 10:19:12 +1000 |
commit | 5db192347cd507c074b6b094c97d1847d95befe8 (patch) | |
tree | 15d9aa819b9bc8d315e04f7ad1e50adfad1f4159 /proc.c | |
parent | 18bbb5ad0150f345bfcf6ba597d97183add0f6b2 (diff) |
Make sure all foreground jobs are reaped after evaluating a job to avoid things like 'sleep 10m; fg' don't try to restart sleep
darcs-hash:20060116001912-ac50b-30944d879d48b8b2714b24fa9a1e7f906ed3e1fb.gz
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -541,7 +541,7 @@ int job_reap( int interactive ) process_t *p; jnext = j->next; - if( (!j->skip_notification) && (!interactive) ) + if( (!j->skip_notification) && (!interactive) && (!j->fg)) { continue; } |