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.
This commit is contained in:
Jack Nagel 2014-09-05 16:56:07 -05:00
parent fd0ba6904f
commit 23c73e2147

View File

@ -529,7 +529,7 @@ class Formula
puts buf puts buf
end end
ensure ensure
rd.close unless rd.closed? rd.close
end end
else else
pid = fork { exec_cmd(cmd, args, log, logfn) } pid = fork { exec_cmd(cmd, args, log, logfn) }