diff options
author | jilles <jilles@FreeBSD.org> | 2010-12-05 22:56:46 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2010-12-05 22:56:46 +0000 |
commit | 0c87a741dcb662392e300caa455767e563990ee7 (patch) | |
tree | 683adc285a47de01fe30203ff8a45a3f3eb4e23c /bin | |
parent | 6d438ef9eb57ad56c1b1e5f1f8c78825e3a4797c (diff) | |
download | FreeBSD-src-0c87a741dcb662392e300caa455767e563990ee7.zip FreeBSD-src-0c87a741dcb662392e300caa455767e563990ee7.tar.gz |
sh: POSIX says there should not be a space between Done and (exitstatus).
(On the other hand, (core dumped) does need a space and so does [1] +.)
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 60f9795..a761f28 100644 --- a/bin/sh/jobs.c +++ b/bin/sh/jobs.c @@ -354,7 +354,7 @@ showjob(struct job *jp, int mode) if (WEXITSTATUS(ps->status) == 0) strcpy(statestr, "Done"); else - fmtstr(statestr, 64, "Done (%d)", + fmtstr(statestr, 64, "Done(%d)", WEXITSTATUS(ps->status)); } else { i = WTERMSIG(ps->status); |