mirror of https://github.com/mikaku/Monitorix.git
fixed a typo introduced in the last commit in 'ntp.pm'
This commit is contained in:
parent
dcce87e826
commit
f44c6fb664
|
@ -151,7 +151,7 @@ sub ntp_update {
|
||||||
my $e = 0;
|
my $e = 0;
|
||||||
foreach my $h (split(',', $ntp->{list})) {
|
foreach my $h (split(',', $ntp->{list})) {
|
||||||
$h = trim($h);
|
$h = trim($h);
|
||||||
open(IN, "ntpqq -pn $args $h |");
|
open(IN, "ntpq -pn $args $h |");
|
||||||
@data = <IN>;
|
@data = <IN>;
|
||||||
close(IN);
|
close(IN);
|
||||||
$cod = $str = $del = $off = $jit = 0;
|
$cod = $str = $del = $off = $jit = 0;
|
||||||
|
|
Loading…
Reference in New Issue