autodie should give us more consistent error reporting going
forward.
use strict;
use v5.10.1;
use parent qw(PublicInbox::Inbox PublicInbox::Umask Exporter);
+use autodie qw(open);
use PublicInbox::Import;
use PublicInbox::IO qw(read_all);
use PublicInbox::Filter::Base qw(REJECT);
undef $mm; # ->created_at set
$sidx->commit_txn_lazy;
} else {
- open my $fh, '>>', "$self->{inboxdir}/ssoma.lock" or
- die "$self->{inboxdir}/ssoma.lock: $!\n";
+ open my $fh, '>>', "$self->{inboxdir}/ssoma.lock";
}
}