commit | 28db7294cdeeb7a295750b6fc560d2cfda31ff4b | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed Mar 21 18:06:20 2018 -0700 |
committer | Josh Gao <jmgao@google.com> | Wed Mar 21 18:23:09 2018 -0700 |
tree | 1b48d56f7fb2f0eff9fbd7bc43ce672cd66601f1 | |
parent | 90a7c1048e5ff8fdc944b2aa996db2d97c007686 [diff] |
adbd: spawn login shell when run without a command. Match openssh's behavior with regards to login shells. Bug: http://b/76116378 Test: `adb shell -T set -o` vs `ssh localhost -T set -o` Test: `adb shell -tt set -o` vs `ssh localhost -tt set -o` Test: `echo set -o | adb shell -T` vs `echo set -o | ssh localhost -T` Test: `echo set -o | adb shell -tt` vs `echo set -o | ssh localhost -tt` Change-Id: I6ed69b43e2ac79c947c242948b5617ece08a713e