diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-11-28 15:36:28 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-11-28 15:36:28 +0100 |
commit | b52846ab5b5d1317a6f7a5967e35b360a731b9c6 (patch) | |
tree | 9bb8458a674b92f0dfb298ccd34395e66395289c /src/libstore/build.cc | |
parent | 3c470c97a1b8d19f03c4d3caa9872e2e786a15ea (diff) |
Show log tail when a remote build fails
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 061682377..866964a4c 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1608,8 +1608,8 @@ void DerivationGoal::buildDone() outputLocks.unlock(); } catch (BuildError & e) { - if (!hook) - printError(e.msg()); + printError(e.msg()); + outputLocks.unlock(); BuildResult::Status st = BuildResult::MiscFailure; |