about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiStoreErr.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/LeiStoreErr.pm')
-rw-r--r--lib/PublicInbox/LeiStoreErr.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiStoreErr.pm b/lib/PublicInbox/LeiStoreErr.pm
index fe4af51e..c8bc72b6 100644
--- a/lib/PublicInbox/LeiStoreErr.pm
+++ b/lib/PublicInbox/LeiStoreErr.pm
@@ -47,7 +47,7 @@ sub event_step {
         return ($!{EAGAIN} ? 0 : $self->close) if !defined($n);
         return $self->close if !$n;
         my $printed;
-        for my $lei (values %PublicInbox::DS::DescriptorMap) {
+        for my $lei (grep defined, @PublicInbox::DS::FD_MAP) {
                 my $cb = $lei->can('store_path') // next;
                 next if $cb->($lei) ne $self->{store_path};
                 emit($lei->{2} // next, $buf) and $printed = 1;