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
6d438ef9eb
commit
0c87a741dc
@ -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