Skip to content

Commit

Permalink
enter: do a login shell by default. Fix #396
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Di Maio <[email protected]>
  • Loading branch information
89luca89 committed Sep 7, 2022
1 parent 0e5acdd commit 103719e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrobox-enter
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ generate_command() {
else
# if no command was specified, let's execute a command that will find
# and run the default shell for the user
result_command="${result_command} sh -c \"\\\$(getent passwd ${USER} | cut -f 7 -d :)"\"
result_command="${result_command} sh -c \"\\\$(getent passwd ${USER} | cut -f 7 -d :) -l"\"
fi

# Return generated command.
Expand Down

0 comments on commit 103719e

Please sign in to comment.