diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-27T14·56-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-07-27T14·56-0400 |
commit | fbf59d95f66012349fdcd2b60f34b9efb32e6319 (patch) | |
tree | a97ef53dfa334ea8d578bc2b12c844d359093232 /src | |
parent | 3a8f841612f08b9be11cc5346fa3c025413282d6 (diff) |
Remove more tabs
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/build.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index a5658e2fa7fb..90dc2b79b532 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2179,8 +2179,8 @@ void DerivationGoal::deleteTmpDir(bool force) { if (tmpDir != "") { if (keepFailed && !force) { - printMsg(lvlError, - format("builder for `%1%' failed; keeping build directory `%2%'") + printMsg(lvlError, + format("builder for `%1%' failed; keeping build directory `%2%'") % drvPath % tmpDir); if (buildUser.enabled() && !amPrivileged()) getOwnership(tmpDir); @@ -2838,9 +2838,9 @@ void Worker::waitForInput() /* If a global timeout has been set, sleep until it's done. */ if (buildTimeout != 0) { - useTimeout = true; + useTimeout = true; if (lastWait == 0 || lastWait > before) lastWait = before; - timeout.tv_sec = std::max((time_t) 0, lastWait + buildTimeout - before); + timeout.tv_sec = std::max((time_t) 0, lastWait + buildTimeout - before); } /* If we're monitoring for silence on stdout/stderr, sleep until @@ -2854,10 +2854,10 @@ void Worker::waitForInput() } } if (oldest) { - time_t silenceTimeout = std::max((time_t) 0, oldest + maxSilentTime - before); + time_t silenceTimeout = std::max((time_t) 0, oldest + maxSilentTime - before); timeout.tv_sec = useTimeout - ? std::min(silenceTimeout, timeout.tv_sec) - : silenceTimeout; + ? std::min(silenceTimeout, timeout.tv_sec) + : silenceTimeout; useTimeout = true; printMsg(lvlVomit, format("sleeping %1% seconds") % timeout.tv_sec); } @@ -2948,8 +2948,8 @@ void Worker::waitForInput() goal->cancel(); } - if (buildTimeout != 0 && - after - before >= (time_t) buildTimeout) + if (buildTimeout != 0 && + after - before >= (time_t) buildTimeout) { printMsg(lvlError, format("%1% timed out after %2% seconds of activity") |