diff options
author | Tollef Fog Heen <tfheen@err.no> | 2009-07-10 13:54:21 +0200 |
---|---|---|
committer | Tollef Fog Heen <tfheen@err.no> | 2009-07-10 13:54:21 +0200 |
commit | 4154bdcaadc1fb1ad2e7cd0f8f887dac5346a0d7 (patch) | |
tree | 8656d8d18db28a8bc455bbc9b3e6ca2e05a1d5f9 | |
parent | e608a0284a84bb37a5a621eae72b0a456ec5484b (diff) | |
download | moreutils-4154bdcaadc1fb1ad2e7cd0f8f887dac5346a0d7.tar.gz |
parallel: Assume -j 1 if no -j or -l is given
-rw-r--r-- | parallel.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -113,7 +113,8 @@ int main(int argc, char **argv) } if (maxjobs < 0 && maxload < 0) { - usage(); + maxjobs = 1; /* XXX: Maybe we should try to autodetect + number of CPUs? */ } while (optind < argc) { |