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
commit6a3a3706034b3edfe99e0a37daef019e4a4ebff7 (patch)
treee466908a6b649c0fa6596af9a7e6a7d6e31fc539 /Library
parent9321873eef1c895b8d0fae23069dcfcf291f9a40 (diff)
downloadbrew-6a3a3706034b3edfe99e0a37daef019e4a4ebff7.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