]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Inbox.pm
inbox: do not vivify {-repo_objs} during cleanup
[public-inbox.git] / lib / PublicInbox / Inbox.pm
index c525f4d169d250fd6e007afc633edb844d5a4078..95467d5ac54b12aa046efbbcb60771aa566240c8 100644 (file)
@@ -30,7 +30,7 @@ sub do_cleanup {
        my ($ibx) = @_;
        my $live = git_cleanup($ibx);
        $ibx->cleanup_shards and $live = 1;
-       for my $git (@{$ibx->{-repo_objs}}) {
+       for my $git (@{$ibx->{-repo_objs} // []}) {
                $live = 1 if $git->cleanup(1);
        }
        delete @$ibx{qw(over mm description cloneurl