lib/PublicInbox/Inbox.pm | 2 +- diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm index c525f4d169d250fd6e007afc633edb844d5a4078..95467d5ac54b12aa046efbbcb60771aa566240c8 100644 --- a/lib/PublicInbox/Inbox.pm +++ b/lib/PublicInbox/Inbox.pm @@ -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