diff --git a/lib/cgi/session.rb b/lib/cgi/session.rb index 2274e4003e..3f265a378a 100644 --- a/lib/cgi/session.rb +++ b/lib/cgi/session.rb @@ -437,7 +437,7 @@ class CGI def delete File::unlink @path+".lock" rescue Errno::ENOENT File::unlink @path+".new" rescue Errno::ENOENT - File::unlink @path rescue Errno::ENOENT + File::unlink @path rescue Errno::ENOENT end end