diff options
-rwxr-xr-x | forced-ssh-command | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forced-ssh-command b/forced-ssh-command index 9f494cf..4af26c6 100755 --- a/forced-ssh-command +++ b/forced-ssh-command | |||
@@ -184,7 +184,7 @@ if [ "$1" = "authorize-full-access" ]; then | |||
184 | exec "$git_cmd" "$git_dir" | 184 | exec "$git_cmd" "$git_dir" |
185 | ;; | 185 | ;; |
186 | "") | 186 | "") |
187 | shell=$(getent passwd d|cut -d: -f7) | 187 | shell=$(getent passwd "$USER"|cut -d: -f7) |
188 | argv0=-${shell##*/} | 188 | argv0=-${shell##*/} |
189 | exec chpst -b "$argv0" "$shell" | 189 | exec chpst -b "$argv0" "$shell" |
190 | ;; | 190 | ;; |