X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=contrib%2Fcollectd2html.pl;h=511b3f9d585d0a8ad2bfb1ea79e396fa7b8fdbac;hb=7a956273a735f15adc49359ba1733170216d79ab;hp=fe4e2bdb02663cf7777cf24553b443baf543faac;hpb=37e18082cfb22491138e282074c5267df48dd8de;p=collectd.git diff --git a/contrib/collectd2html.pl b/contrib/collectd2html.pl index fe4e2bdb..511b3f9d 100644 --- a/contrib/collectd2html.pl +++ b/contrib/collectd2html.pl @@ -216,7 +216,7 @@ for (my $i = 0; $i < scalar(@rrds); ++$i) { END # graph various ranges - foreach my $span qw(1hour 1day 1week 1month){ + foreach my $span (qw(1hour 1day 1week 1month)){ system("mkdir -p $IMG_DIR/" . dirname($bn)); my $img = "$IMG_DIR/${bn}-$span$IMG_SFX";