From aa0db14dd9185cdc3de17ea4e2ed777fc27af935 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Thu, 29 Nov 2018 21:23:38 -0800 Subject: [PATCH] >> doesn't update mtime --- webmin/system_info.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webmin/system_info.pl b/webmin/system_info.pl index a18cda639..4b574c53e 100644 --- a/webmin/system_info.pl +++ b/webmin/system_info.pl @@ -57,9 +57,7 @@ else { # HTTP download failed somewhere, so fall back to the cache # and reset it's validity to prevent a failed retry storm @ann = @$cache; - my $fh; - open($fh, ">>$webmin_announce_cache"); - close($fh); + &execute_command("touch ".quotemeta($webmin_announce_cache)); } elsif ($err) { # Cannot fetch, and no cache