summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Dh_Buildsystems.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-29 16:25:43 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-29 16:25:43 -0400
commit2a9c750718dc42c39b3ccfd52aa271cda038e6d1 (patch)
tree845df3e0f98ab938a838b0d5a5cf6d96a3dd5522 /Debian/Debhelper/Dh_Buildsystems.pm
parent7e35f3cf73dd5c6e4c8848217e33e2c6c8e00ed4 (diff)
logic error
Diffstat (limited to 'Debian/Debhelper/Dh_Buildsystems.pm')
-rw-r--r--Debian/Debhelper/Dh_Buildsystems.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/Dh_Buildsystems.pm b/Debian/Debhelper/Dh_Buildsystems.pm
index 8713aab4..f43c87d4 100644
--- a/Debian/Debhelper/Dh_Buildsystems.pm
+++ b/Debian/Debhelper/Dh_Buildsystems.pm
@@ -146,7 +146,7 @@ sub set_parallel {
$n = $1 if $opt =~ /^parallel=(\d+)$/;
}
if (defined $n && $n > 0) {
- if ($max && $n < $max) {
+ if (!$max || $n < $max) {
$opt_parallel = $n;
}
else {