* Doh!
This commit is contained in:
parent
160a60d663
commit
cff2b2a13a
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue