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:
parent
4221d3eb78
commit
fa9e5d05a3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user