diff options
author | Nick Thomas <nick@gitlab.com> | 2021-05-06 12:59:32 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2021-05-06 12:59:32 +0100 |
commit | c541500de556a635eff6cc7db1847fdb91305fb7 (patch) | |
tree | 52d7046f1910ddf31b497556a416219b301cde8c /cmd/gitlab-shell/main.go | |
parent | 60821cbd5e4319b8de758f47005ade891518e0d2 (diff) | |
download | gitlab-shell-c541500de556a635eff6cc7db1847fdb91305fb7.tar.gz |
Stop changing directory to the filesystem root
This behaviour dates from when Gitaly RPCs were executed in Ruby by a
Go subprocess. It's not needed for gitlab-shell now that it's in Go,
and it's a very strange thing for gitlab-sshd. Best just to remove it.
If we wanted to retain this behaviour, we could have an `os.Chdir` call
in the gitlab-shell binary, but I just don't think it's needed.
Changelog: fixed
Diffstat (limited to 'cmd/gitlab-shell/main.go')
0 files changed, 0 insertions, 0 deletions