diff options
author | Eric Wong <e@80x24.org> | 2019-05-29 20:56:31 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-05-29 20:56:58 +0000 |
commit | 4f814ff418e334a9b7b9bd96cd5450c2823de2f6 (patch) | |
tree | 2d7f6671f37f0335bbe929bf195642e1b9b42420 /script | |
parent | 7187388231277606aaac3c00287f55ac7b604844 (diff) | |
download | public-inbox-4f814ff418e334a9b7b9bd96cd5450c2823de2f6.tar.gz |
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).
Diffstat (limited to 'script')
-rwxr-xr-x | script/public-inbox-index | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/script/public-inbox-index b/script/public-inbox-index index c0d637b1..e4a7be19 100755 --- a/script/public-inbox-index +++ b/script/public-inbox-index @@ -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 = {}; |