Fall back to run the shell without -l option

This commit is contained in:
pagedown 2022-03-11 15:42:34 +08:00
parent 39a78f6be3
commit ea28951e0e
No known key found for this signature in database
GPG Key ID: E921CF18AC8FF6EB

View File

@ -475,3 +475,6 @@ 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
exec "$login_shell"