Mention the shell in the error message

This commit is contained in:
Kovid Goyal 2022-03-11 15:52:51 +05:30
parent c7a2e060e3
commit 910565aa7c
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -472,6 +472,5 @@ execute_with_python
execute_with_perl
execute_sh_with_posix_env
exec "$login_shell" "-l"
printf "%s\n" "Could not execute the shell as a login shell" > /dev/stderr
printf "%s\n" "Could not execute the shell $login_shell as a login shell" > /dev/stderr
exec "$login_shell"