From: Benjamin Oechslein Date: Thu, 8 Jan 2015 20:49:35 +0000 (+0100) Subject: Fix creation of new rrd files: Trailing space seems to be harmful X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/upsgraph/commitdiff_plain/f447c2a1a5ed06c5fceda8f5476a1341cfc0f7f3?hp=1c46ea617272124eae806cd59532ae86822eaf4f Fix creation of new rrd files: Trailing space seems to be harmful --- diff --git a/upsgraph.pl b/upsgraph.pl index 0d19fb6..3077e23 100755 --- a/upsgraph.pl +++ b/upsgraph.pl @@ -79,7 +79,7 @@ sub rrdcreate(@) { push @cmd, "DS:${field}:GAUGE:600:" . $vars->{$field}->{'min'} . ":" . - $vars->{$field}->{'max'} . " "; + $vars->{$field}->{'max'}; push @cmd, "RRA:AVERAGE:0.5:1:${keep}";