mirror of
https://github.com/webmin/webmin.git
synced 2026-09-17 19:10:39 +01:00
Wait at most 5 seconds to check new webmin version
This commit is contained in:
@@ -2136,7 +2136,8 @@ sub get_latest_webmin_version
|
||||
{
|
||||
my $file = &transname();
|
||||
my ($error, $version);
|
||||
&http_download($primary_host, $primary_port, '/', $file, \$error);
|
||||
&http_download($primary_host, $primary_port, '/', $file, \$error, undef, 0,
|
||||
undef, undef, 5);
|
||||
return (0, $error) if ($error);
|
||||
open(FILE, $file);
|
||||
while(<FILE>) {
|
||||
|
||||
Reference in New Issue
Block a user