summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/jobs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jobs.c b/src/jobs.c
index f30313b..8fb9d4b 100644
--- a/src/jobs.c
+++ b/src/jobs.c
@@ -1207,12 +1207,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++;
 	}