mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Fix $rawtime scope #2136 [build]
This commit is contained in:
@@ -13,6 +13,7 @@ our ($timezones_file, $currentzone_link, $currentzone_file, $timezones_dir,
|
||||
$sysclock_file);
|
||||
our ($get_hardware_time_error);
|
||||
our $cron_cmd = "$module_config_directory/sync.pl";
|
||||
our $rawtime;
|
||||
if ($config{'zone_style'}) {
|
||||
do "$config{'zone_style'}-lib.pl";
|
||||
}
|
||||
@@ -76,7 +77,6 @@ if ($? && $config{'ntp_only'}) {
|
||||
elsif ($?) {
|
||||
# error using ntp. use timeservice
|
||||
my ($err, $serv);
|
||||
my $rawtime;
|
||||
foreach $serv (@servs) {
|
||||
$err = undef;
|
||||
my $fh = "SOCK";
|
||||
|
||||
Reference in New Issue
Block a user