1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-15 15:06:42 +00:00

Don't show the process ID of background jobs that have terminated,

for consistency with ksh.
This commit is contained in:
Tim J. Robbins 2002-08-24 07:19:01 +00:00
parent d3cf4981d9
commit 488edd5bd3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102351

View File

@ -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));