diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/jobs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/jobs.c b/Src/jobs.c index 66dfb5a7e..226e7cff3 100644 --- a/Src/jobs.c +++ b/Src/jobs.c @@ -2217,7 +2217,8 @@ bin_fg(char *name, char **argv, Options ops, int func) return 0; } else { /* Must be BIN_WAIT, so wait for all jobs */ for (job = 0; job <= maxjob; job++) - if (job != thisjob && jobtab[job].stat) + if (job != thisjob && jobtab[job].stat && + !(jobtab[job].stat & STAT_NOPRINT)) retval = zwaitjob(job, 1); unqueue_signals(); return retval; |