diff options
author | Eric Wong <e@80x24.org> | 2021-03-20 07:38:00 +0500 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-03-20 02:48:02 +0000 |
commit | 592daf02926f747bacaa85a1d1509374c7e66f11 (patch) | |
tree | 92703a8c49aed77aedea14c1c9b0795f3a7fff6e /lib/PublicInbox/IPC.pm | |
parent | 8d77e9e1ac618c5fb33492200ee50fd1b12a7b57 (diff) | |
download | public-inbox-592daf02926f747bacaa85a1d1509374c7e66f11.tar.gz |
This was causing errors in a mass keyword import patch I'm working on.
Diffstat (limited to 'lib/PublicInbox/IPC.pm')
-rw-r--r-- | lib/PublicInbox/IPC.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/IPC.pm b/lib/PublicInbox/IPC.pm index 1fa67d00..cf3723f7 100644 --- a/lib/PublicInbox/IPC.pm +++ b/lib/PublicInbox/IPC.pm @@ -177,6 +177,7 @@ sub ipc_worker_stop { # and writing to the same store sub ipc_lock_init { my ($self, $f) = @_; + $f // die 'BUG: no filename given'; require PublicInbox::Lock; $self->{-ipc_lock} //= bless { lock_path => $f }, 'PublicInbox::Lock' } |