diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-02-23 15:47:16 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-02-23 15:47:16 -0500 |
commit | 7ef2ddb70209ae8f7bd2941787e87fe168965715 (patch) | |
tree | ab1e2833fe84dfdb9b83850f01a7416c6b5bcc1c /parallel.c | |
parent | 4665e4fdca863b8346ed2cc39304f2c763e183a9 (diff) | |
download | moreutils-7ef2ddb70209ae8f7bd2941787e87fe168965715.tar.gz |
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.
Diffstat (limited to 'parallel.c')
-rw-r--r-- | parallel.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |