Return an exit code of 100 for cached failed builds

Exit code 100 should be returned for all permanent failures.  This
includes cached failures.

Fixes #34.
This commit is contained in:
Eelco Dolstra 2012-07-17 15:55:30 -04:00
parent 1217204c81
commit 3a9fdf2747
1 changed files with 1 additions and 0 deletions

View File

@ -2234,6 +2234,7 @@ bool DerivationGoal::pathFailed(const Path & path)
if (printBuildTrace)
printMsg(lvlError, format("@ build-failed %1% %2% cached") % drvPath % path);
worker.permanentFailure = true;
amDone(ecFailed);
return true;