From: Joey Hess Date: Thu, 29 Oct 2009 20:25:43 +0000 (-0400) Subject: logic error X-Git-Tag: 7.4.4~23 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2a9c750718dc42c39b3ccfd52aa271cda038e6d1;p=debhelper.git logic error --- diff --git a/Debian/Debhelper/Dh_Buildsystems.pm b/Debian/Debhelper/Dh_Buildsystems.pm index 8713aab..f43c87d 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 {