diff options
-rw-r--r-- | shell/ash.c | 2 |
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) | |||
5451 | int retval; | 5451 | int retval; |
5452 | 5452 | ||
5453 | retval = 0; | 5453 | retval = 0; |
5454 | if (job_warning) | 5454 | if (!iflag || job_warning) |
5455 | goto out; | 5455 | goto out; |
5456 | jp = curjob; | 5456 | jp = curjob; |
5457 | if (jp && jp->state == JOBSTOPPED) { | 5457 | if (jp && jp->state == JOBSTOPPED) { |