aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-09-05 16:56:07 -0500
committerJack Nagel2014-09-05 16:56:07 -0500
commit2fec88dea050f505616dd1b432be402837eeb107 (patch)
treef6725aee3e24a09fc4dffde5240d0bb68d5efe37 /Library
parent1708bcc64b3fc31d22f000478417142e97676830 (diff)
downloadhomebrew-2fec88dea050f505616dd1b432be402837eeb107.tar.bz2
Remove unnecessary closed? guard
The debugger can't jump back to this point, so we don't have to worry about this code executing twice.
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) }