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 Tjoelker 2010-12-05 22:56:46 +00:00
parent 4221d3eb78
commit fa9e5d05a3

View File

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