]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Import.pm
wwwstream: improve documentation and variable naming
[public-inbox.git] / lib / PublicInbox / Import.pm
index 611f7b1609bdcd554f2b81bae1901c279427495c..1ac112b8a44222fa830f9635242155ffd00084de 100644 (file)
@@ -240,7 +240,8 @@ sub done {
                        my $s = PublicInbox::SearchIdx->new($inbox);
                        $s->index_sync({ ref => $self->{ref} });
                };
-               run_die([@cmd, qw(gc --auto)], undef);
+
+               eval { run_die([@cmd, qw(gc --auto)], undef) };
        }
 
        my $lockfh = delete $self->{lockfh} or die "BUG: not locked: $!";