aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libstore/normalise.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/normalise.cc b/src/libstore/normalise.cc
index f4159f65a..bf096bde7 100644
--- a/src/libstore/normalise.cc
+++ b/src/libstore/normalise.cc
@@ -1441,6 +1441,7 @@ Worker::Worker()
/* Debugging: prevent recursive workers. */
if (working) abort();
working = true;
+ nrChildren = 0;
}