Fix build log output in nix-store --serve

This commit is contained in:
Eelco Dolstra 2016-10-26 17:13:38 +02:00
parent d2c58ba605
commit 5c0bd51d49

View file

@ -3029,7 +3029,7 @@ void DerivationGoal::handleEOF(int fd)
void DerivationGoal::flushLine()
{
if (settings.verboseBuild)
printInfo(filterANSIEscapes(currentLogLine, true));
printError(filterANSIEscapes(currentLogLine, true));
else {
logTail.push_back(currentLogLine);
if (logTail.size() > settings.logLines) logTail.pop_front();