diff options
author | Martin Pool <mbp@sourcefrog.net> | 2022-03-31 18:28:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-31 18:28:02 -0700 |
commit | d983bcaa3061c55e8f246d8af84f1f3b8b94a82b (patch) | |
tree | 00332cd456401a98c624622968a9e46e1dea1e07 | |
parent | ae9922c17c509a86d989cf93ca3513d6b3ec86bb (diff) | |
parent | c376f12163756e62c658f94b4a2edf36ebea1a6d (diff) | |
download | distcc-git-d983bcaa3061c55e8f246d8af84f1f3b8b94a82b.tar.gz |
Merge pull request #458 from 00gh/joblimit
src/dopt.c: increase arg_max_jobs limit to max int
-rw-r--r-- | src/dopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -309,8 +309,8 @@ int distccd_parse_options(int argc, const char **argv) #endif case 'j': - if (arg_max_jobs < 1 || arg_max_jobs > 200) { - rs_log_error("--jobs argument must be between 1 and 200"); + if (arg_max_jobs < 1 ) { + rs_log_error("--jobs argument must be more than 0"); exitcode = EXIT_BAD_ARGUMENTS; goto out_exit; } |