From: Tom Hughes Date: Thu, 18 Jun 2020 18:53:08 +0000 (+0100) Subject: Don't leave temporary files lying around X-Git-Url: https://git.openstreetmap.org/dns.git/commitdiff_plain/d353c9cfb7f027e13e68b6fbcd8d2986f6fd8ede Don't leave temporary files lying around --- diff --git a/bin/mkgeo b/bin/mkgeo index 2113c09..6944c45 100755 --- a/bin/mkgeo +++ b/bin/mkgeo @@ -120,7 +120,7 @@ if ($ENV{STATUSCAKE_USERNAME} && $ENV{STATUSCAKE_APIKEY}) } DumpFile("statuscake-$$.yml", $cache); - link("statuscake-$$.yml", "statuscake.yml"); + rename("statuscake-$$.yml", "statuscake.yml"); } # Mark a cluster as up if any servers are up