Add log message

This commit is contained in:
Eelco Dolstra 2016-02-29 11:58:06 +01:00
parent ad035b5227
commit 922dc541c2

View file

@ -276,6 +276,7 @@ void State::buildRemote(ref<Store> destStore,
/* If the path was substituted or already valid, then we didn't
get a build log. */
if (result.status == BuildResult::Substituted || result.status == BuildResult::AlreadyValid) {
printMsg(lvlInfo, format("outputs of %1% substituted or already valid on %2%") % step->drvPath % machine->sshName);
unlink(result.logFile.c_str());
result.logFile = "";
}