X-Git-Url: https://git.openstreetmap.org./dns.git/blobdiff_plain/e321ed160d7f6b28947bb1c558359bbe9e2b6a30..95a7071a0f34c538da85f1fdffaa2a428e38a26e:/bin/mkgeo?ds=inline 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