summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorash <smashwilson@gmail.com>2013-05-18 20:02:53 +0000
committerash <smashwilson@gmail.com>2013-05-18 20:02:53 +0000
commit1b7e9d539efb583a8f643c1a67092906873ea1a4 (patch)
treef1732e093dff0d6b18cb7c80a6fb007527ae4d59 /lib
parentc2844b265038fb1b58e78c06fa80da805a8bc7ec (diff)
downloadgitlab-shell-1b7e9d539efb583a8f643c1a67092906873ea1a4.tar.gz
Show an 'access denied' message on stderr.
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab_shell.rb1
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}."