diff --git a/adb-channel b/adb-channel index 1a2b470..0c6bd2d 100755 --- a/adb-channel +++ b/adb-channel @@ -9,7 +9,7 @@ activity=${2} delay=${3} atexit() { - [ -z "${activity}" ] || adb shell am force-stop ${activity%%/*} + [ -z "${activity}" ] || adb shell am force-stop ${activity} adb forward --remove localfilesystem:"${t}/sock" rm -rf "${t}" }