diff options
author | tjr <tjr@FreeBSD.org> | 2002-08-24 07:19:01 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-08-24 07:19:01 +0000 |
commit | 7ffc3ae91a4ac92b21d6499f39fb1c45d59bcb6e (patch) | |
tree | 255eddb333eaeffe139d54ed4a22f6d13d864ce2 /bin | |
parent | 3f7bd9e0a1c7d926b87b428aceb5916e8a0c6d4c (diff) | |
download | FreeBSD-src-7ffc3ae91a4ac92b21d6499f39fb1c45d59bcb6e.zip FreeBSD-src-7ffc3ae91a4ac92b21d6499f39fb1c45d59bcb6e.tar.gz |
Don't show the process ID of background jobs that have terminated,
for consistency with ksh.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sh/jobs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c index ebf5ed8..a4a8bdf 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)); |