From 488edd5bd33f4f5e6cd780c3363767d6aa0cbc40 Mon Sep 17 00:00:00 2001 From: "Tim J. Robbins" Date: Sat, 24 Aug 2002 07:19:01 +0000 Subject: Don't show the process ID of background jobs that have terminated, for consistency with ksh. --- bin/sh/jobs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit v1.3