X-Git-Url: https://git.openstreetmap.org/dns.git/blobdiff_plain/e321ed160d7f6b28947bb1c558359bbe9e2b6a30..a35ef03647dac87e928cd3c39a67289ccbf81f65:/bin/mkgeo diff --git a/bin/mkgeo b/bin/mkgeo index 9b2e4d3..6944c45 100755 --- a/bin/mkgeo +++ b/bin/mkgeo @@ -119,7 +119,8 @@ if ($ENV{STATUSCAKE_USERNAME} && $ENV{STATUSCAKE_APIKEY}) } } - DumpFile("statuscake.yml", $cache); + DumpFile("statuscake-$$.yml", $cache); + rename("statuscake-$$.yml", "statuscake.yml"); } # Mark a cluster as up if any servers are up