summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-07-17 16:02:17 -0400
committerJoey Hess <joey@kitenet.net>2011-07-17 16:02:17 -0400
commitc0460e17dab00ac7944a3d94fbe87b11757a1c65 (patch)
tree3f7820be138c4abefd2f4691d4cb30754f189876
parent099c5507f059cde1553618708600ceb6a3f73761 (diff)
no need to wait when parallel is disabled
-rwxr-xr-xdh_builddeb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_builddeb b/dh_builddeb
index be6324a4..edb7a751 100755
--- a/dh_builddeb
+++ b/dh_builddeb
@@ -112,7 +112,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
$processes++;
}
}
-while (($max_procs > 0) && (wait != -1)) {}
+while (($max_procs > 1) && (wait != -1)) {}
=head1 SEE ALSO