envsetup: dopush: fix test if device is in recovery

Change-Id: I1687b879e00918813886b2c9c54535376aa62d99
Signed-off-by: Marc K <morckx@gmail.com>
gugelfrei
Marc K 8 years ago committed by Gerrit Code Review
parent e724a1c496
commit 299137f39d

@ -761,7 +761,7 @@ function repodiff() {
function _adb_connected {
{
if [[ "$(adb get-state)" == device &&
"$(adb shell test -e /sbin/recovery; echo $?)" == 0 ]]
"$(adb shell test -e /sbin/recovery; echo $?)" != 0 ]]
then
return 0
fi

Loading…
Cancel
Save