]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/trac/files/default/trac-authenticate
Disable chef exception handler
[chef.git] / cookbooks / trac / files / default / trac-authenticate
index cfd33e756f8c75a8d56e572d68a4870707d0f85b..489a12ca06825b06d234fa9422a4f4119d8a7bb0 100755 (executable)
@@ -11,5 +11,5 @@ request.basic_auth user, pass
 
 response = Net::HTTP.new("api.openstreetmap.org").request(request)
 
-exit!(0) if response.kind_of?(Net::HTTPSuccess)
+exit!(0) if response.is_a?(Net::HTTPSuccess)
 exit!(1)