diff options
Diffstat (limited to 'IkiWiki/Plugin/cvs.pm')
-rw-r--r-- | IkiWiki/Plugin/cvs.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/cvs.pm b/IkiWiki/Plugin/cvs.pm index 60f5372eb..8409bebed 100644 --- a/IkiWiki/Plugin/cvs.pm +++ b/IkiWiki/Plugin/cvs.pm @@ -105,10 +105,10 @@ sub cvs_runcvs(@) { chdir $config{srcdir} || error("Cannot chdir to $config{srcdir}: $!"); - open(my $savederr, ">&STDERR"); - open(STDERR, ">", "/dev/null"); + open(my $savedout, ">&STDOUT"); + open(STDOUT, ">", "/dev/null"); my $ret = system(@cmd); - open(STDERR, ">$savederr"); + open(STDOUT, ">&", $savedout); return ($ret == 0) ? 1 : 0; } |