summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6ae8373)
raw | patch | inline | side by side (parent: 6ae8373)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 17 May 2007 20:59:51 +0000 (22:59 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 17 May 2007 20:59:51 +0000 (22:59 +0200) |
This was changed in order to debug new code and then forgotten..
contrib/extractDS.px | patch | blob | history |
diff --git a/contrib/extractDS.px b/contrib/extractDS.px
index f5370e679fba1a91f571f0d9b36aaddc65725d14..3bf4b9e01c402758976095c7b470ecbb58e3c493 100755 (executable)
--- a/contrib/extractDS.px
+++ b/contrib/extractDS.px
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>)
{