about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiStore.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/LeiStore.pm')
-rw-r--r--lib/PublicInbox/LeiStore.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiStore.pm b/lib/PublicInbox/LeiStore.pm
index 7cda7e44..a7d7d953 100644
--- a/lib/PublicInbox/LeiStore.pm
+++ b/lib/PublicInbox/LeiStore.pm
@@ -23,7 +23,7 @@ sub new {
         my (undef, $dir, $opt) = @_;
         my $eidx = PublicInbox::ExtSearchIdx->new($dir, $opt);
         my $self = bless { priv_eidx => $eidx }, __PACKAGE__;
-        eidx_init($self) if $opt->{creat};
+        eidx_init($self)->done if $opt->{creat};
         $self;
 }