summaryrefslogtreecommitdiff
path: root/cmd/gitlab-shell/main.go
diff options
context:
space:
mode:
authorfeistel <6742251-feistel@users.noreply.gitlab.com>2021-09-08 15:04:21 +0000
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2021-09-08 15:04:21 +0000
commitd0e09b414a9b069ec7bcbed2880b93c27cf3727c (patch)
tree16ab2acb6bcaeb1cc88acf01f1f7f4eb9dc1ca76 /cmd/gitlab-shell/main.go
parent67415dc4f6f293460517d4281b5e4e80e66ffb91 (diff)
downloadgitlab-shell-d0e09b414a9b069ec7bcbed2880b93c27cf3727c.tar.gz
refactor: cleanup func signature and remove unused args
Diffstat (limited to 'cmd/gitlab-shell/main.go')
-rw-r--r--cmd/gitlab-shell/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gitlab-shell/main.go b/cmd/gitlab-shell/main.go
index 14bd457..2576e8b 100644
--- a/cmd/gitlab-shell/main.go
+++ b/cmd/gitlab-shell/main.go
@@ -51,7 +51,7 @@ func main() {
defer logCloser.Close()
env := sshenv.NewFromEnv()
- cmd, err := shellCmd.New(executable, os.Args[1:], env, config, readWriter)
+ cmd, err := shellCmd.New(os.Args[1:], env, config, readWriter)
if err != nil {
// For now this could happen if `SSH_CONNECTION` is not set on
// the environment