diff options
-rw-r--r-- | lib/gitlab_access.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_access.rb b/lib/gitlab_access.rb index 80c050c..804d06d 100644 --- a/lib/gitlab_access.rb +++ b/lib/gitlab_access.rb @@ -18,7 +18,7 @@ class GitlabAccess def exec if api.allowed?('git-receive-pack', @repo_name, @actor, @changes) - exit 0 + return true else # reset GL_ID env since we stop git push here ENV['GL_ID'] = nil |