X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/b9f422185e874c3d03ddae51d61d6bec941e2326..b383327c3b867d8c4975f4f170b9f2a62cccf7c6:/bin/mkgeo diff --git a/bin/mkgeo b/bin/mkgeo index 9a36ae2..2c0453b 100755 --- a/bin/mkgeo +++ b/bin/mkgeo @@ -149,6 +149,9 @@ foreach my $server (@servers) } } +# Abort if no servers at all are up +exit 0 unless grep { $_->{status} eq "up" } values(%$clusters); + # Create target origins object my $targetorigins = {};