aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 9048803ef..2b7c2ced2 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -529,7 +529,7 @@ class Formula
puts buf
end
ensure
- rd.close unless rd.closed?
+ rd.close
end
else
pid = fork { exec_cmd(cmd, args, log, logfn) }