From 2a9c750718dc42c39b3ccfd52aa271cda038e6d1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 29 Oct 2009 16:25:43 -0400 Subject: logic error --- Debian/Debhelper/Dh_Buildsystems.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Debian/Debhelper/Dh_Buildsystems.pm') 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 { -- cgit v1.2.3