summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Dh_Buildsystems.pm
diff options
context:
space:
mode:
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 {