diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-03-31T15·50+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-03-31T15·50+0000 |
commit | cff2b2a13aea7cf30c0ef5be449e355594dc80c2 (patch) | |
tree | d6f17aa00eb41cd15f21b74a424ffca55e7b6577 /src | |
parent | 160a60d663039cc26e73d0359fcbce12b30a7d3d (diff) |
* Doh!
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 1482d6926920..f422bca01a03 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2551,7 +2551,7 @@ void Worker::run(const Goals & _topGoals) if (!children.empty() || !waitingForAWhile.empty()) waitForInput(); else { - if (maxBuildJobs == 0) throw Error( + if (awake.empty() && maxBuildJobs == 0) throw Error( "unable to start any build; either increase `--max-jobs' " "or enable distributed builds"); assert(!awake.empty()); |