diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-02-07 10:46:12 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-02-07 10:46:12 -0800 |
commit | 6f8a072654b599c6a316898fedb917445ec46f5e (patch) | |
tree | 4f4fc6b9411b766ffada0a9c02ab510b5dc8969b /Bugzilla/Install/CPAN.pm | |
parent | Merge tag 'bugzilla-4.4.6' into upstream (diff) | |
parent | Bumped version to 4.4.7 (diff) | |
download | bugzilla-6f8a072654b599c6a316898fedb917445ec46f5e.tar.gz bugzilla-6f8a072654b599c6a316898fedb917445ec46f5e.tar.bz2 bugzilla-6f8a072654b599c6a316898fedb917445ec46f5e.zip |
Merge tag 'release-4.4.7' into upstream
Diffstat (limited to 'Bugzilla/Install/CPAN.pm')
-rw-r--r-- | Bugzilla/Install/CPAN.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Install/CPAN.pm b/Bugzilla/Install/CPAN.pm index f96bb4cb9..8a880df80 100644 --- a/Bugzilla/Install/CPAN.pm +++ b/Bugzilla/Install/CPAN.pm @@ -203,8 +203,8 @@ sub set_cpan_config { # Calling a senseless autoload that does nothing makes us # automatically load any existing configuration. # We want to avoid the "invalid command" message. - open(my $saveout, ">&STDOUT"); - open(STDOUT, '>/dev/null'); + open(my $saveout, ">&", "STDOUT"); + open(STDOUT, '>', '/dev/null'); eval { CPAN->ignore_this_error_message_from_bugzilla; }; undef $@; close(STDOUT); |