forked from lix-project/hydra
hydra-evaluator: Show friendlier exit status
This commit is contained in:
parent
1ecc8a4f40
commit
4576b3d35b
|
@ -230,8 +230,8 @@ struct Evaluator
|
||||||
state->runningEvals--;
|
state->runningEvals--;
|
||||||
for (auto & jobset : state->jobsets)
|
for (auto & jobset : state->jobsets)
|
||||||
if (jobset.second.pid == pid) {
|
if (jobset.second.pid == pid) {
|
||||||
printInfo("evaluation of jobset ‘%s:%s’ finished with status %d",
|
printInfo("evaluation of jobset ‘%s:%s’ %s",
|
||||||
jobset.first.first, jobset.first.second, status);
|
jobset.first.first, jobset.first.second, statusToString(status));
|
||||||
jobset.second.pid.release();
|
jobset.second.pid.release();
|
||||||
maybeDoWork.notify_one();
|
maybeDoWork.notify_one();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue