From: Joey Hess Date: Tue, 23 Feb 2010 20:47:16 +0000 (-0500) Subject: allow -l 0 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ef2ddb70209ae8f7bd2941787e87fe168965715;p=moreutils allow -l 0 Now that -l is a decimal value, it makes sense for -l 0.001 and -l 0 to do effectively the same thing. --- diff --git a/parallel.c b/parallel.c index c3b9d67..72f1426 100644 --- a/parallel.c +++ b/parallel.c @@ -202,7 +202,7 @@ int main(int argc, char **argv) { getloadavg(&load, 1); if ((maxjobs == 0 || curjobs < maxjobs) && - (maxload <= 0 || load < maxload)) { + (maxload < 0 || load < maxload)) { if (argsatonce > arglen - argidx) argsatonce = arglen - argidx;