diff options
author | Eric Wong <e@80x24.org> | 2019-10-15 01:38:25 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-10-15 20:26:41 +0000 |
commit | 849f57851a04e376cf2327d9e98e8128bf3c756e (patch) | |
tree | 94935fbd7e01ffbcb8b7ee43464cd3baf468c1c8 /lib/PublicInbox/Config.pm | |
parent | fe3d294c237640bebf5d047c92921287a20d4485 (diff) | |
download | public-inbox-849f57851a04e376cf2327d9e98e8128bf3c756e.tar.gz |
It's probably wrong to use relative path names, but things are all relative these days anyways with shared and networked FSes.
Diffstat (limited to 'lib/PublicInbox/Config.pm')
-rw-r--r-- | lib/PublicInbox/Config.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm index e0329ebf..509de0a0 100644 --- a/lib/PublicInbox/Config.pm +++ b/lib/PublicInbox/Config.pm @@ -93,7 +93,7 @@ sub each_inbox { # may auto-vivify if config file is non-existent: foreach my $section (@{$self->{-section_order}}) { next if $section !~ m!\Apublicinbox\.([^/]+)\z!; - $self->{"publicinbox.$1.mainrepo"} or next; + defined($self->{"publicinbox.$1.mainrepo"}) or next; my $ibx = lookup_name($self, $1) or next; $cb->($ibx); } |