aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-08-24 07:19:01 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-08-24 07:19:01 +0000
commit488edd5bd33f4f5e6cd780c3363767d6aa0cbc40 (patch)
tree255eddb333eaeffe139d54ed4a22f6d13d864ce2 /bin
parentd3cf4981d9eaa2085d8c47c20254df6325d413bc (diff)
downloadsrc-488edd5bd33f4f5e6cd780c3363767d6aa0cbc40.tar.gz
src-488edd5bd33f4f5e6cd780c3363767d6aa0cbc40.zip
Don't show the process ID of background jobs that have terminated,
for consistency with ksh.
Notes
Notes: svn path=/head/; revision=102351
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/jobs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c
index ebf5ed8f900c..a4a8bdf57cf7 100644
--- a/bin/sh/jobs.c
+++ b/bin/sh/jobs.c
@@ -978,7 +978,7 @@ dowait(int block, struct job *job)
out1str(" (core dumped)");
out1c('\n');
} else
- showjob(thisjob, pid, 0, 1);
+ showjob(thisjob, pid, 0, 0);
}
} else {
TRACE(("Not printing status, rootshell=%d, job=0x%x\n", rootshell, job));