diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 30436263c3..c1eccb2ffa 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