From 9c7c39425922ff539a69a22ef6f8e9f4340627f1 Mon Sep 17 00:00:00 2001 From: Jordan Rogers-Smith Date: Mon, 6 Jan 2014 22:59:18 +0000 Subject: [PATCH] attempt to maintain compatability with previous fix #213 --- lib/simplecov/defaults.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/simplecov/defaults.rb b/lib/simplecov/defaults.rb index e8ca7c2b..51a2f261 100644 --- a/lib/simplecov/defaults.rb +++ b/lib/simplecov/defaults.rb @@ -40,6 +40,7 @@ SimpleCov::CommandGuesser.original_run_command = "#{$0} #{ARGV.join(" ")}" at_exit do + @exit_status = nil if $! # was an exception thrown? # if it was a SystemExit, use the accompanying status