diff options
-rw-r--r-- | bin/dash/src/jobs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dash/src/jobs.c b/bin/dash/src/jobs.c index d4c13c0f..5104a5e5 100644 --- a/bin/dash/src/jobs.c +++ b/bin/dash/src/jobs.c @@ -1205,12 +1205,12 @@ stoppedjobs(void) int retval; retval = 0; - if (job_warning) + if (job_warning > 1) goto out; jp = curjob; if (jp && jp->state == JOBSTOPPED) { out2str("You have stopped jobs.\n"); - job_warning = 2; + job_warning++; retval++; } |