From ef14b1348206799487e8c444f16a7f7b5b89be90 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 17 May 2007 22:59:51 +0200 Subject: [PATCH] contrib/extractDS.px: Create RRD file instead of writing to STDOUT. This was changed in order to debug new code and then forgotten.. --- contrib/extractDS.px | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/extractDS.px b/contrib/extractDS.px index f5370e67..3bf4b9e0 100755 --- a/contrib/extractDS.px +++ b/contrib/extractDS.px @@ -236,8 +236,7 @@ sub extract_ds my $out_fh; open ($in_fh, '-|', 'rrdtool', 'dump', $in_file) or die ("open (rrdtool): $!"); -# open ($out_fh, '|-', 'rrdtool', 'restore', '-', $out_file) or die ("open (rrdtool): $!"); - $out_fh = \*STDOUT; + open ($out_fh, '|-', 'rrdtool', 'restore', '-', $out_file) or die ("open (rrdtool): $!"); while (my $line = <$in_fh>) { -- 2.11.0