about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2018-07-29 09:34:39 +0000
committerEric Wong <e@80x24.org>2018-07-29 09:43:03 +0000
commit4edfee1a201259ce803d9153f38235f1c69bcd8f (patch)
tree28fef954ad8a4d8398ecc39a529f64fa09edfe8e /lib/PublicInbox
parent5252ed7b787ddf5dd3f5b6cfda78fa515b21376d (diff)
downloadpublic-inbox-4edfee1a201259ce803d9153f38235f1c69bcd8f.tar.gz
It's a convenient wrapper nowadays, so get rid of some legacy
code and minimize differences from the -watch code.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r--lib/PublicInbox/InboxWritable.pm1
1 files changed, 1 insertions, 0 deletions
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";
                 }
         }