Fall back to run the shell without -l option
This commit is contained in:
parent
39a78f6be3
commit
ea28951e0e
@ -475,3 +475,6 @@ execute_with_python
|
|||||||
execute_with_perl
|
execute_with_perl
|
||||||
execute_sh_with_posix_env
|
execute_sh_with_posix_env
|
||||||
exec "$login_shell" "-l"
|
exec "$login_shell" "-l"
|
||||||
|
|
||||||
|
printf "%s\n" "Could not execute the shell as a login shell" > /dev/stderr
|
||||||
|
exec "$login_shell"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user