rrd-extractstats.pl: fix bareword (disallowed by use strict, fixes #91)

This commit is contained in:
Matthieu Cerda 2020-08-10 13:55:20 +02:00
parent 4b90a1fa78
commit 569e8334c1

View File

@ -54,7 +54,7 @@ try {
my $sth = $db->prepare("SELECT asn, checked_at FROM stats") or die('field missing');
$sth->execute();
while(my($item, $data) = $sth->fetchrow_array()) {
as_list->{$item} = $data;
$as_list->{$item} = $data;
}
$db_version = 2;