~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ncurses: Update from 6.0.20170923 to 6.0.20171028
[termux-packages]
/
packages
/
termux-tools
/
chsh
diff --git
a/packages/termux-tools/chsh
b/packages/termux-tools/chsh
index
edc7abf
..
08bd02e
100755
(executable)
--- a/
packages/termux-tools/chsh
+++ b/
packages/termux-tools/chsh
@@
-8,6
+8,10
@@
show_usage () {
}
set_shell () {
+ if [ "$1" = login ]; then
+ echo "login is not a valid shell"
+ exit 1
+ fi
mkdir -p $HOME/.termux
NEW_SHELL=$PREFIX/bin/$1
if test -x $NEW_SHELL -a ! -d $NEW_SHELL; then