summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-07-17 16:23:08 -0400
committerJoey Hess <joey@kitenet.net>2011-07-17 16:23:08 -0400
commit047394511b43087914a8f4e1e056da29e451ce83 (patch)
tree4f9663b135b3451b98f198191a06fa9ff21643ff
parent5a1a00034f4fc63ddd9ed1b92b1d135eab4397f1 (diff)
downloaddebhelper-047394511b43087914a8f4e1e056da29e451ce83.tar.gz
tweak
-rwxr-xr-xdh_builddeb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_builddeb b/dh_builddeb
index df21cc06..d1876687 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;
}