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
commit23c73e2147c4fcabfe283658c12e376709e39ca5 (patch)
treedfac1cbec65d42596bcb6c78191ea720fd599d20 /Library
parentfd0ba6904f68016c14d868a9e7c7391711d2bb31 (diff)
downloadbrew-23c73e2147c4fcabfe283658c12e376709e39ca5.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) }