about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/Admin.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Admin.pm b/lib/PublicInbox/Admin.pm
index 29388ad6..6e710cd5 100644
--- a/lib/PublicInbox/Admin.pm
+++ b/lib/PublicInbox/Admin.pm
@@ -205,7 +205,7 @@ sub index_inbox {
                                 $v2w->{parallel} = 0;
                         } else {
                                 my $n = $v2w->{shards};
-                                if ($jobs != ($n + 1)) {
+                                if ($jobs != ($n + 1) && !$opt->{reshard}) {
                                         warn
 "Unable to respect --jobs=$jobs, inbox was created with $n shards\n";
                                 }