diff options
Diffstat (limited to 'src/interfaces/libpq/test/regress.pl')
-rw-r--r-- | src/interfaces/libpq/test/regress.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/libpq/test/regress.pl b/src/interfaces/libpq/test/regress.pl index c403130c6a..3ad638a91b 100644 --- a/src/interfaces/libpq/test/regress.pl +++ b/src/interfaces/libpq/test/regress.pl @@ -35,7 +35,8 @@ while (<$regress_in_fh>) } # restore STDOUT/ERR so we can print the outcome to the user -open(STDERR, ">&", $olderr_fh) or die; # can't complain as STDERR is still duped +open(STDERR, ">&", $olderr_fh) + or die; # can't complain as STDERR is still duped open(STDOUT, ">&", $oldout_fh) or die "can't restore STDOUT: $!"; # just in case |