X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/upsgraph/blobdiff_plain/3679b92785fa7106d07999fcc95750457693e077..1c46ea617272124eae806cd59532ae86822eaf4f:/upsgraph.pl
diff --git a/upsgraph.pl b/upsgraph.pl
index 010d114..0d19fb6 100755
--- a/upsgraph.pl
+++ b/upsgraph.pl
@@ -443,7 +443,7 @@ while(1) {
print HTML "
\n";
open (HTML2, ">${outdir}/${hostname}.${var}.html.new");
- print HTML2 '
' . $vars->{$var}->{'name'} . '';
+ print HTML2 '' . $vars->{$var}->{'name'} . '';
print HTML2 '';
push @graphdef, "VDEF:min=${var},MINIMUM";
@@ -473,7 +473,7 @@ while(1) {
}
}
- print HTML2 "
";
+ print HTML2 "
\n";
$mtime=(stat("${outdir}/${hostname}.${var}.week.png.work"))[9];
($averages, $width, $height) =
@@ -490,7 +490,7 @@ while(1) {
}
}
- print HTML2 "
";
+ print HTML2 "
\n";
$mtime=(stat("${outdir}/${hostname}.${var}.year.png.work"))[9];
($averages, $width, $height) =
@@ -507,7 +507,7 @@ while(1) {
}
}
- print HTML2 "
";
+ print HTML2 "
\n";
print HTML2 "\n";
close(HTML2);