marsadm: fix warning

This commit is contained in:
Thomas Schoebel-Theuer 2022-05-14 06:10:45 +02:00
parent 1dd6ad047b
commit 16beca1793
1 changed files with 1 additions and 0 deletions

View File

@ -2942,6 +2942,7 @@ sub wait_cluster {
# Also possible at join-cluster: restart freshly
lwarn "Need restart for getting more 'time' links\n";
goto restart if $max_restarts-- > 0;
$old_status{$peer} = 0;
}
if ($status{$peer} !~ m/^[0-9.]+$/) {
$dead_count++;