Commit | Line | Data |
---|---|---|
1 | diff -uNr dropbear-2018.76/common-session.c dropbear-2018.76.mod/common-session.c | |
2 | --- dropbear-2018.76/common-session.c 2018-02-27 16:25:10.000000000 +0200 | |
3 | +++ dropbear-2018.76.mod/common-session.c 2018-04-21 13:49:06.633742995 +0300 | |
4 | @@ -570,7 +570,7 @@ | |
5 | const char* get_user_shell() { | |
6 | /* an empty shell should be interpreted as "/bin/sh" */ | |
7 | if (ses.authstate.pw_shell[0] == '\0') { | |
8 | - return "/bin/sh"; | |
9 | + return "@TERMUX_PREFIX@/bin/sh"; | |
10 | } else { | |
11 | return ses.authstate.pw_shell; | |
12 | } |