diff --git a/3.0/lib/nvidia.pm b/3.0/lib/nvidia.pm index 9123188..2ed1dcb 100644 --- a/3.0/lib/nvidia.pm +++ b/3.0/lib/nvidia.pm @@ -20,7 +20,7 @@ package nvidia; -#use strict; +use strict; use warnings; use Monitorix; use RRDs; @@ -264,6 +264,7 @@ sub nvidia_cgi { "-r $tf->{res}"); $err = RRDs::error; print("ERROR: while fetching $rrd: $err\n") if $err; + my $line1; my $line2; my $line3; print("
\n");