aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jobs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jobs.c b/src/jobs.c
index 3c17dc4..2e1e0c4 100644
--- a/src/jobs.c
+++ b/src/jobs.c
@@ -125,7 +125,7 @@ int job_parents_list_insert(struct job *job, struct job *parent)
int job_cost(struct job *job)
{
- int32_t builds = 0;
+ int32_t builds = 1;
for (size_t i = 0; i < job->deps_filled; i++) {
if (job->deps[i]->insubstituters)