Merge pull request #93 from Kegeruneku/fix_perl_bareword

rrd-extractstats.pl: fix bareword (disallowed by use strict, fixes #91)
This commit is contained in:
Manuel Kasper 2020-08-10 20:06:01 +02:00 committed by GitHub
commit ca631c17f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;