From c376f12163756e62c658f94b4a2edf36ebea1a6d Mon Sep 17 00:00:00 2001 From: 00gh <00gh> Date: Sun, 27 Mar 2022 13:19:16 +0200 Subject: src/dopt.c: increase arg_max_jobs limit to max int Issue #452. jobs limit --- src/dopt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dopt.c b/src/dopt.c index 1e92071..71e5ae7 100644 --- a/src/dopt.c +++ b/src/dopt.c @@ -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; } -- cgit v1.2.1