aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils/popen.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/utils/popen.rb')
-rw-r--r--Library/Homebrew/utils/popen.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils/popen.rb b/Library/Homebrew/utils/popen.rb
index f30a2a0fe..2fa3ade46 100644
--- a/Library/Homebrew/utils/popen.rb
+++ b/Library/Homebrew/utils/popen.rb
@@ -13,7 +13,7 @@ module Utils
return pipe.read unless block_given?
yield pipe
else
- options[:err] ||= :close
+ options[:err] ||= :close unless ENV["HOMEBREW_STDERR"]
exec(*args, options)
end
end