the images should be written to the current directory ... -- Alex
[rrdtool.git] / examples / 4charts.pl.in
index beeb6f4..828595c 100755 (executable)
@@ -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,