summaryrefslogtreecommitdiff
path: root/cmd/gitlab-sshd/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/gitlab-sshd/main.go')
-rw-r--r--cmd/gitlab-sshd/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/gitlab-sshd/main.go b/cmd/gitlab-sshd/main.go
index 78690b0..5bbf221 100644
--- a/cmd/gitlab-sshd/main.go
+++ b/cmd/gitlab-sshd/main.go
@@ -63,7 +63,8 @@ func main() {
cfg.ApplyGlobalState()
- logger.ConfigureStandalone(cfg)
+ logCloser := logger.ConfigureStandalone(cfg)
+ defer logCloser.Close()
ctx, finished := command.Setup("gitlab-sshd", cfg)
defer finished()