summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--adb/commandline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/commandline.cpp b/adb/commandline.cpp
index 6c3a1a5ba..f5d13c3fc 100644
--- a/adb/commandline.cpp
+++ b/adb/commandline.cpp
@@ -1104,7 +1104,7 @@ static bool adb_root(const char* command) {
TransportType type;
const char* serial;
adb_get_transport(&type, &serial);
- return wait_for_device("wait-for-device", type, serial);
+ return wait_for_device("wait-for-any", type, serial);
}
// Connects to the device "shell" service with |command| and prints the