summaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 152b3b4..5743b23 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) {