X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=examples%2Fstripes.pl.in;h=362f4992e02743559107dda00b912721c6e982bc;hp=5187a56cdf0130930162a6edc1ae5436c2579f4e;hb=009ac7ac9dde1ba7c450b230b9118cff2cedc9f6;hpb=c2588300e3b61df51b846dd79d90b3da9628d0cb diff --git a/examples/stripes.pl.in b/examples/stripes.pl.in index 5187a56..362f499 100755 --- a/examples/stripes.pl.in +++ b/examples/stripes.pl.in @@ -38,7 +38,7 @@ RRDs::graph "stripes.png", "COMMENT:alpha=TIME,1200,%,600,LT,a,UNKN,IF", "COMMENT:beta=TIME,1200,%,600,GE,b,UNKN,IF\\j"; if ($ERROR = RRDs::error) { - print "ERROR: $ERROR\n"; + die "ERROR: $ERROR\n"; };