diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-06 14:02:49 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-06 14:02:49 +0200 |
commit | f915a4b80fdae28492e6c630534d8b66462f670a (patch) | |
tree | 54fc70863abcbf119511336732a6bf8335af98bc /lib | |
parent | 45ca39e81bf857cdb58b1a184b8fab0e56c200f7 (diff) | |
download | gitlab-ce-shell-version-warning.tar.gz |
Warn when gitlab-shell version doesn't match requirement.shell-version-warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/backend/shell.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/backend/shell.rb b/lib/gitlab/backend/shell.rb index aabc7f1e69a..530f9d93de4 100644 --- a/lib/gitlab/backend/shell.rb +++ b/lib/gitlab/backend/shell.rb @@ -240,7 +240,7 @@ module Gitlab gitlab_shell_version_file = "#{gitlab_shell_path}/VERSION" if File.readable?(gitlab_shell_version_file) - File.read(gitlab_shell_version_file) + File.read(gitlab_shell_version_file).chomp end end |