Revert "When checking for shell, use strict grep (#3437)"
This reverts commit b77bd30460.
This commit is contained in:
parent
1001751983
commit
1d80b5cde3
@ -88,7 +88,7 @@ set_shell()
|
||||
fi
|
||||
SHELL_PATH=$(grep /$USER_SHELL$ /etc/shells | tail -1)
|
||||
|
||||
chsh -s $(grep -wiF "/$USER_SHELL" /etc/shells | tail -1)
|
||||
chsh -s $(grep -iF "/$USER_SHELL" /etc/shells | tail -1)
|
||||
echo -e "\nShell: \x1B[92m${USER_SHELL^^}\x1B[0m"
|
||||
|
||||
# change shell for future users
|
||||
|
||||
Loading…
Reference in New Issue
Block a user