summaryrefslogtreecommitdiff
path: root/lib/gitlab_access.rb
diff options
context:
space:
mode:
authorDrew Blessing <drew.blessing@me.com>2014-10-29 22:21:10 -0500
committerDrew Blessing <drew.blessing@me.com>2014-11-05 15:16:43 -0600
commit3ef7cdf9f94035da5640a585b8c49b0693af2090 (patch)
tree5ad3dbaa118504d185071a5f4e36f8a8cbc3e3dd /lib/gitlab_access.rb
parent00b3d2cb7095af3859734c88a7797182e598f047 (diff)
downloadgitlab-shell-3ef7cdf9f94035da5640a585b8c49b0693af2090.tar.gz
Support for custom hooks
Diffstat (limited to 'lib/gitlab_access.rb')
-rw-r--r--lib/gitlab_access.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_access.rb b/lib/gitlab_access.rb
index 804d06d..78d353c 100644
--- a/lib/gitlab_access.rb
+++ b/lib/gitlab_access.rb
@@ -23,7 +23,7 @@ class GitlabAccess
# reset GL_ID env since we stop git push here
ENV['GL_ID'] = nil
puts "GitLab: You are not allowed to access some of the refs!"
- exit 1
+ return false
end
end