X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7b9ec4b60ee39614d1d083d7220e76b07d2b275f..4c86175022c9036999f9d8341e48cbd884448709:/cookbooks/trac/files/default/trac-authenticate?ds=inline diff --git a/cookbooks/trac/files/default/trac-authenticate b/cookbooks/trac/files/default/trac-authenticate index cfd33e756..489a12ca0 100755 --- a/cookbooks/trac/files/default/trac-authenticate +++ b/cookbooks/trac/files/default/trac-authenticate @@ -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)