From 4edfee1a201259ce803d9153f38235f1c69bcd8f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 29 Jul 2018 09:34:39 +0000 Subject: mda: use InboxWritable It's a convenient wrapper nowadays, so get rid of some legacy code and minimize differences from the -watch code. --- lib/PublicInbox/InboxWritable.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/PublicInbox') diff --git a/lib/PublicInbox/InboxWritable.pm b/lib/PublicInbox/InboxWritable.pm index 9b0cdfd0..aa62132f 100644 --- a/lib/PublicInbox/InboxWritable.pm +++ b/lib/PublicInbox/InboxWritable.pm @@ -39,6 +39,7 @@ sub importer { my $addr = $self->{-primary_address}; PublicInbox::Import->new($git, $name, $addr, $self); } else { + $! = 78; # EX_CONFIG 5.3.5 local configuration error die "unsupported inbox version: $v\n"; } } -- cgit v1.2.3-24-ge0c7