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