fixed indentation ... gnu indent results are not realy beautifl. I might switch...
[rrdtool.git] / examples / stripes.pl.in
index 5187a56..362f499 100755 (executable)
@@ -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";
 };