X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=examples%2F4charts.pl.in;h=a11b944185db50684b70ed918863d793f0346072;hp=828595cf9e6057280de266d09025fd93caac6860;hb=ca8d9c109d76e8c024f21edd10474e0e5d29b892;hpb=cffc3b561fbc7bafbde87b10edf18013df3da531 diff --git a/examples/4charts.pl.in b/examples/4charts.pl.in index 828595c..a11b944 100755 --- a/examples/4charts.pl.in +++ b/examples/4charts.pl.in @@ -117,7 +117,7 @@ RRDs::graph "$name-sample.png", ; if ($ERROR = RRDs::error) { - print "ERROR: $ERROR\n"; + die "ERROR: $ERROR\n"; }; print "This script has created $name.png in the current directory\n";