summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 49847c8)
raw | patch | inline | side by side (parent: 49847c8)
| author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
| Tue, 11 Oct 2005 16:41:15 +0000 (16:41 +0000) | ||
| committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
| Tue, 11 Oct 2005 16:41:15 +0000 (16:41 +0000) | 
index 828595cf9e6057280de266d09025fd93caac6860..a11b944185db50684b70ed918863d793f0346072 100755 (executable)
 ;
 if ($ERROR = RRDs::error) {
-  print "ERROR: $ERROR\n";
+  die "ERROR: $ERROR\n";
 };
 print "This script has created $name.png in the current directory\n";
index 0f5d98ccc85ac1ece2dd509fda577eb52b5508a2..997386c5148278d4938fab79758d11fedf7550b8 100755 (executable)
 ;
 if ($ERROR = RRDs::error) {
-  print "ERROR: $ERROR\n";
+  die "ERROR: $ERROR\n";
 };
index 1e94a6fac6fad2e5f8f48487becbd2af4e475078..3714bc1fb97cb8d1ab09dc6cf96af00588971124 100755 (executable)
 ;
 if ($ERROR = RRDs::error) {
-  print "ERROR: $ERROR\n";
+  die "ERROR: $ERROR\n";
 };
index 6d9374f647f026e09a2e43a26afaf9968f62c468..f01c1ae1c886adf294515ef546141471cb8eb08d 100755 (executable)
           "VRULE:".($now-7200)."#008877:120 Minutes ago";
     if ($ERROR = RRDs::error) {
-      print "ERROR: $ERROR\n";
+      die "ERROR: $ERROR\n";
     } else {
       print "Image Size: ${xs}x${ys}\n";
       print "Graph Return:\n",(join "\n", @$graphret),"\n\n";
 my ($start,$step,$names,$array) = RRDs::fetch $RRD1, "AVERAGE";
 $ERROR = RRDs::error;
-print "ERROR: $ERROR\n" if $ERROR ;
+die "ERROR: $ERROR\n" if $ERROR ;
 print "start=$start, step=$step\n";
 print "                    "; 
 map {printf("%12s",$_)} @$names ;
index 5187a56cdf0130930162a6edc1ae5436c2579f4e..362f4992e02743559107dda00b912721c6e982bc 100755 (executable)
   "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";
 };
![[tokkee]](http://tokkee.org/images/avatar.png)
