summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 152b3b46a..5743b2377 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -5451,7 +5451,7 @@ stoppedjobs(void)
int retval;
retval = 0;
- if (job_warning)
+ if (!iflag || job_warning)
goto out;
jp = curjob;
if (jp && jp->state == JOBSTOPPED) {