summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2016-07-20 14:41:10 +0200
committerJacob Vosmaer <jacob@gitlab.com>2016-07-20 14:41:10 +0200
commitbc815c5b48a78dfa9117c4b2d85472645364afb3 (patch)
treefb9e053645d3417a624a41d0de672849efaf2bcb
parent48d292ebde4177972117957df5fd37ac1f2692da (diff)
downloadgitlab-shell-bc815c5b48a78dfa9117c4b2d85472645364afb3.tar.gz
More ENV.delete
-rwxr-xr-xbin/gitlab-shell2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gitlab-shell b/bin/gitlab-shell
index f145a1b..6ef572f 100755
--- a/bin/gitlab-shell
+++ b/bin/gitlab-shell
@@ -6,7 +6,7 @@ unless ENV['SSH_CONNECTION']
end
key_id = /key-[0-9]+/.match(ARGV.join).to_s
-original_cmd = ENV['SSH_ORIGINAL_COMMAND']
+original_cmd = ENV.delete('SSH_ORIGINAL_COMMAND')
require_relative '../lib/gitlab_init'