Don't blow up if PID doesn't exist at the end

This commit is contained in:
Bryan Helmkamp 2009-11-13 21:22:41 -05:00
parent fcde80f43f
commit 7812f25741

View File

@ -21,7 +21,9 @@ Spec::Runner.configure do |config|
end end
config.after :suite do config.after :suite do
if File.exists?("rack.pid")
Process.kill("TERM", File.read("rack.pid").to_i) Process.kill("TERM", File.read("rack.pid").to_i)
end end
end end
end