diff options
author | Andrew Cady <d@jerkface.net> | 2019-07-29 17:30:25 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2019-07-29 17:30:25 -0400 |
commit | 3fa847bc24e79f4c779108caa97549263f407508 (patch) | |
tree | 66c1346c47730cd6ad9fa53c16a9f9c35cf18441 | |
parent | 9cca9ddd4dce9d481a3ab9594d8cf8f74cde6677 (diff) |
fixup! forced-ssh-command
-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 | ;; |