Remove a warning in bootstraptest/runner.rb

../bootstraptest/runner.rb:121: warning: assigned but unused variable - e
This commit is contained in:
Takashi Kokubun 2023-03-19 21:02:16 -07:00
parent 2d8ecfcc9a
commit 7f696b8859

View File

@ -118,7 +118,7 @@ BT = Class.new(bt) do
r = IO.for_fd($1.to_i(10), "rb", autoclose: false)
w = IO.for_fd($2.to_i(10), "wb", autoclose: false)
end
rescue => e
rescue
r.close if r
else
r.close_on_exec = true