hydra-evaluator: Show friendlier exit status

This commit is contained in:
Eelco Dolstra 2016-11-08 17:00:17 +01:00
parent 1ecc8a4f40
commit 4576b3d35b

View file

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