diff --git a/about.pl b/about.pl index c9ba5390d5..5ff95d5792 100755 --- a/about.pl +++ b/about.pl @@ -893,7 +893,7 @@ sub elasticsearch_check { my $es = Search::Elasticsearch->new($es_conf); foreach my $index (@indexes) { - my $index_count; + my $index_count = 0; try { $index_count = $es->indices->stats( index => $index )->{_all}{primaries}{docs}{count}; } catch {