diff options
Diffstat (limited to 'automated/lib')
-rwxr-xr-x | automated/lib/android-test-lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/lib/android-test-lib b/automated/lib/android-test-lib index a4fd136..7330c8b 100755 --- a/automated/lib/android-test-lib +++ b/automated/lib/android-test-lib @@ -153,7 +153,7 @@ adb_shell_which() { cmd="$1" # Only latest version adb able to return exit code. # Check if output of which is empty is a more reliable way. - which_output="$(adb shell "which ${cmd}")" + which_output="$(adb shell "echo which ${cmd} | su")" info_msg "Output of which: *${which_output}*" if [ -n "${which_output}" ]; then return 0 |