From d353c9cfb7f027e13e68b6fbcd8d2986f6fd8ede Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 18 Jun 2020 19:53:08 +0100 Subject: [PATCH] Don't leave temporary files lying around --- bin/mkgeo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5