summaryrefslogtreecommitdiff
path: root/dh_builddeb
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 /dh_builddeb
parent5a1a00034f4fc63ddd9ed1b92b1d135eab4397f1 (diff)
tweak
Diffstat (limited to 'dh_builddeb')
-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;
}