mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
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
This commit is contained in:
parent
18bbb5ad01
commit
5db192347c
1 changed files with 1 additions and 1 deletions
2
proc.c
2
proc.c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue