]> Sergey Matveev's repositories - public-inbox.git/commitdiff
index: remove warning on unconfigured inboxes
authorEric Wong <e@80x24.org>
Wed, 29 May 2019 20:56:31 +0000 (20:56 +0000)
committerEric Wong <e@80x24.org>
Wed, 29 May 2019 20:56:58 +0000 (20:56 +0000)
It's annoying for people using "git fetch && public-inbox-index"
as one user; and running -httpd/-nntpd as a different user
(where users see different config files).

script/public-inbox-index

index c0d637b109d886ecdd2c89424bf1cb488d3aa8d1..e4a7be1979ae88915d0ef689ed99c5ccdf51d347 100755 (executable)
@@ -20,9 +20,7 @@ die "--jobs must be positive\n" if defined $opt->{jobs} && $opt->{jobs} <= 0;
 
 sub usage { print STDERR "Usage: $usage\n"; exit 1 }
 
-# do we really care about this message?  It's annoying...
-my $warn = 'public-inbox unconfigured for serving, indexing anyways...';
-my @ibxs = PublicInbox::Admin::resolve_inboxes(\@ARGV, $warn);
+my @ibxs = PublicInbox::Admin::resolve_inboxes(\@ARGV);
 PublicInbox::Admin::require_or_die('-index');
 usage() unless @ibxs;
 my $mods = {};