X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=examples%2Fstripes.pl.in;fp=examples%2Fstripes.pl.in;h=362f4992e02743559107dda00b912721c6e982bc;hp=5187a56cdf0130930162a6edc1ae5436c2579f4e;hb=ca8d9c109d76e8c024f21edd10474e0e5d29b892;hpb=cffc3b561fbc7bafbde87b10edf18013df3da531 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"; };