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] +.)
This commit is contained in:
jilles 2010-12-05 22:56:46 +00:00
parent 6d438ef9eb
commit 0c87a741dc

View File

@ -354,7 +354,7 @@ showjob(struct job *jp, int mode)
if (WEXITSTATUS(ps->status) == 0) if (WEXITSTATUS(ps->status) == 0)
strcpy(statestr, "Done"); strcpy(statestr, "Done");
else else
fmtstr(statestr, 64, "Done (%d)", fmtstr(statestr, 64, "Done(%d)",
WEXITSTATUS(ps->status)); WEXITSTATUS(ps->status));
} else { } else {
i = WTERMSIG(ps->status); i = WTERMSIG(ps->status);