From c3ce0c26e7370eb1e7cb6156314d498fe09b76c0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 4 Mar 2022 10:01:33 +0530 Subject: [PATCH] ... --- shell-integration/ssh/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-integration/ssh/bootstrap.sh b/shell-integration/ssh/bootstrap.sh index 730c5024a..af5b1ac7f 100644 --- a/shell-integration/ssh/bootstrap.sh +++ b/shell-integration/ssh/bootstrap.sh @@ -219,7 +219,7 @@ if [ -n "$LOGIN_SHELL" ]; then else using_getent || using_id || using_python || using_passwd || die "Could not detect login shell"; fi -shell_name=$(basename $login_shell) +shell_name=$(command basename $login_shell) # If a command was passed to SSH execute it here EXEC_CMD