From 0c87a741dcb662392e300caa455767e563990ee7 Mon Sep 17 00:00:00 2001 From: jilles Date: Sun, 5 Dec 2010 22:56:46 +0000 Subject: 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] +.) --- bin/sh/jobs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/sh') 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); -- cgit v1.1