X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=examples%2F4charts.pl.in;h=828595cf9e6057280de266d09025fd93caac6860;hb=cffc3b561fbc7bafbde87b10edf18013df3da531;hp=beeb6f4a2e6f218e10c24395aeb603269ff73a33;hpb=70f35e3bbca2e4172289295f01aaea6735a42b15;p=rrdtool.git diff --git a/examples/4charts.pl.in b/examples/4charts.pl.in index beeb6f4..828595c 100755 --- a/examples/4charts.pl.in +++ b/examples/4charts.pl.in @@ -8,6 +8,7 @@ use RRDs; my $start=time; my $rrd="randome.rrd"; my $name = $0; +$name =~ s/.*\///g; $name =~ s/\.pl.*//g; RRDs::create ($rrd, "--start",$start-1, "--step",300,