summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdh_builddeb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_builddeb b/dh_builddeb
index df21cc0..d187668 100755
--- a/dh_builddeb
+++ b/dh_builddeb
@@ -85,8 +85,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
if (! defined $pid) {
error("fork failed! $!");
}
- $processes++;
if ($pid) { # parent
+ $processes++;
reap while $processes > $max_procs;
next;
}