about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-17T17·11+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-17T17·11+0200
commitc160ead82f6a36b5a3efbb36241e567d1e2388cc (patch)
treeb8399e57b87026a52edbde4a6e23d1a873cce2a2 /src/libstore/build.cc
parent42e9ad8fd1c8825fcf182cee787a206eb932e575 (diff)
Reduce verbosity
Diffstat (limited to 'src/libstore/build.cc')
-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 ad450a916b96..2e3875551d4f 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();