diff options
-rw-r--r-- | lib/PublicInbox/Inbox.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Inbox.pm b/lib/PublicInbox/Inbox.pm index c525f4d1..95467d5a 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 |