X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=contrib%2Fcollectd2html.pl;h=511b3f9d585d0a8ad2bfb1ea79e396fa7b8fdbac;hb=70686d01c986c39255e534fae0baa645227c3028;hp=fe4e2bdb02663cf7777cf24553b443baf543faac;hpb=e6e95d5b9dc44ebfa39984c984e75327ce71d0ea;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";