Commit 47e510e1 authored by Riyad Preukschas's avatar Riyad Preukschas

Small fixes

parent 75447fb0
...@@ -55,7 +55,7 @@ namespace :gitlab do ...@@ -55,7 +55,7 @@ namespace :gitlab do
# check Gitolite version # check Gitolite version
gitolite_version_file = "#{Gitlab.config.gitolite.repos_path}/../gitolite/src/VERSION" gitolite_version_file = "#{Gitlab.config.gitolite.repos_path}/../gitolite/src/VERSION"
if File.exists?(gitolite_version_file) && File.readable?(gitolite_version_file) if File.readable?(gitolite_version_file)
gitolite_version = File.read(gitolite_version_file) gitolite_version = File.read(gitolite_version_file)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment