From 3fa847bc24e79f4c779108caa97549263f407508 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Mon, 29 Jul 2019 17:30:25 -0400 Subject: fixup! forced-ssh-command --- forced-ssh-command | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 exec "$git_cmd" "$git_dir" ;; "") - shell=$(getent passwd d|cut -d: -f7) + shell=$(getent passwd "$USER"|cut -d: -f7) argv0=-${shell##*/} exec chpst -b "$argv0" "$shell" ;; -- cgit v1.2.3