summaryrefslogtreecommitdiff
path: root/cmd/gitlab-shell-authorized-keys-check/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/gitlab-shell-authorized-keys-check/main.go')
-rw-r--r--cmd/gitlab-shell-authorized-keys-check/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/gitlab-shell-authorized-keys-check/main.go b/cmd/gitlab-shell-authorized-keys-check/main.go
index ba8ddd8..8746353 100644
--- a/cmd/gitlab-shell-authorized-keys-check/main.go
+++ b/cmd/gitlab-shell-authorized-keys-check/main.go
@@ -10,6 +10,7 @@ import (
"gitlab.com/gitlab-org/gitlab-shell/internal/console"
"gitlab.com/gitlab-org/gitlab-shell/internal/executable"
"gitlab.com/gitlab-org/gitlab-shell/internal/logger"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/sshenv"
)
func main() {
@@ -33,7 +34,7 @@ func main() {
logger.Configure(config)
- cmd, err := command.New(executable, os.Args[1:], config, readWriter)
+ cmd, err := command.New(executable, os.Args[1:], sshenv.Env{}, config, readWriter)
if err != nil {
// For now this could happen if `SSH_CONNECTION` is not set on
// the environment