diff options
-rwxr-xr-x | bootstraptest/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index fc4998b523..c8ba824407 100755 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -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 |