From c160ead82f6a36b5a3efbb36241e567d1e2388cc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 17 Aug 2014 19:11:50 +0200 Subject: [PATCH] Reduce verbosity --- src/libstore/build.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();