diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2016-07-20 14:41:10 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2016-07-20 14:41:10 +0200 |
commit | bc815c5b48a78dfa9117c4b2d85472645364afb3 (patch) | |
tree | fb9e053645d3417a624a41d0de672849efaf2bcb /bin | |
parent | 48d292ebde4177972117957df5fd37ac1f2692da (diff) | |
download | gitlab-shell-bc815c5b48a78dfa9117c4b2d85472645364afb3.tar.gz |
More ENV.delete
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gitlab-shell | 2 |
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' |