~mcf/samurai

9d27eb20f03e464fb66e1a845707b2a1cdbfbf0f — Michael Forney 1 year, 7 days ago d3a7458
Include exit status in job failure message
1 files changed, 1 insertions(+), 1 deletions(-)

M build.c
M build.c => build.c +1 -1
@@ 449,7 449,7 @@ jobdone(struct job *j)
		j->failed = true;
	} else if (WIFEXITED(status)) {
		if (WEXITSTATUS(status) != 0) {
			warn("job failed: %s", j->cmd->s);
			warn("job failed with status %d: %s", WEXITSTATUS(status), j->cmd->s);
			j->failed = true;
		}
	} else if (WIFSIGNALED(status)) {