aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-09-08 19:50:32 -0500
committerJack Nagel2014-09-08 19:50:32 -0500
commit82170d1b3490cc9d35c7fc785cff29048f7892a9 (patch)
tree6d2112a2fac99ca7a1cdbd53dad3024f16fb0106 /Library
parentb429a448a0199b62782dbddffcea1df8f5a306b0 (diff)
downloadhomebrew-82170d1b3490cc9d35c7fc785cff29048f7892a9.tar.bz2
Fix file descriptor leak
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index 30436263c..c1eccb2ff 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -179,6 +179,7 @@ class Test
rd.close
STDERR.reopen("/dev/null")
STDOUT.reopen(wr)
+ wr.close
Dir.chdir @repository
exec("git", *args)
end