about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rwxr-xr-xscript/public-inbox-index2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-index b/script/public-inbox-index
index 2a7a524b..e487e3fe 100755
--- a/script/public-inbox-index
+++ b/script/public-inbox-index
@@ -109,7 +109,7 @@ sub index_dir {
                                 $v2w->{parallel} = 0;
                         } else {
                                 my $n = $v2w->{partitions};
-                                if ($jobs != $n) {
+                                if ($jobs != ($n + 1)) {
                                         warn
 "Unable to respect --jobs=$jobs, inbox was created with $n partitions\n";
                                 }