src/rrd_graph.[ch]: Implemented the ":daemon=..." option for "DEF:" commands.
[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";
 };