projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add the real license ...
[rrdtool.git]
/
examples
/
bigtops.pl.in
diff --git
a/examples/bigtops.pl.in
b/examples/bigtops.pl.in
index
b3fa6e4
..
997386c
100755
(executable)
--- a/
examples/bigtops.pl.in
+++ b/
examples/bigtops.pl.in
@@
-6,6
+6,7
@@
use RRDs;
my $start=time;
my $rrd="randome.rrd";
my $name = $0;
+$name =~ s/.*\///g;
$name =~ s/\.pl.*//g;
RRDs::create ($rrd, "--start",$start-1, "--step",300,
@@
-41,7
+42,7
@@
RRDs::graph "$name.png",
;
if ($ERROR = RRDs::error) {
-
print
"ERROR: $ERROR\n";
+
die
"ERROR: $ERROR\n";
};