aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-17 19:11:50 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-17 19:11:50 +0200
commitc160ead82f6a36b5a3efbb36241e567d1e2388cc (patch)
treeb8399e57b87026a52edbde4a6e23d1a873cce2a2
parent42e9ad8fd1c8825fcf182cee787a206eb932e575 (diff)
Reduce verbosity
-rw-r--r--src/libstore/build.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index ad450a916..2e3875551 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -1439,7 +1439,8 @@ void DerivationGoal::buildDone()
outputLocks.unlock();
} catch (BuildError & e) {
- printMsg(lvlError, e.msg());
+ if (!hook)
+ printMsg(lvlError, e.msg());
outputLocks.unlock();
buildUser.release();