From 6a3a3706034b3edfe99e0a37daef019e4a4ebff7 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 8 Sep 2014 19:50:32 -0500 Subject: Fix file descriptor leak --- Library/Contributions/cmd/brew-test-bot.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') 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 -- cgit v1.2.3