X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/00cb30d4ef7f058ed2a6a62af80b4db8d3ec4d1e..3dc60e99dcd936a3228e462d2c31ea9c01249587:/bin/mkgeo?ds=inline 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 = {};