diff options
author | ash <smashwilson@gmail.com> | 2013-05-18 20:02:53 +0000 |
---|---|---|
committer | ash <smashwilson@gmail.com> | 2013-05-18 20:02:53 +0000 |
commit | 1b7e9d539efb583a8f643c1a67092906873ea1a4 (patch) | |
tree | f1732e093dff0d6b18cb7c80a6fb007527ae4d59 /lib | |
parent | c2844b265038fb1b58e78c06fa80da805a8bc7ec (diff) | |
download | gitlab-shell-1b7e9d539efb583a8f643c1a67092906873ea1a4.tar.gz |
Show an 'access denied' message on stderr.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab_shell.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb index aeea0da..7ec1621 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -25,6 +25,7 @@ class GitlabShell else message = "gitlab-shell: Access denied for git command <#{@origin_cmd}> by #{log_username}." $logger.warn message + $stderr.puts "Access denied." end else message = "gitlab-shell: Attempt to execute disallowed command <#{@origin_cmd}> by #{log_username}." |