Index: build/android/buildbot/bb_device_status_check.py |
diff --git a/build/android/buildbot/bb_device_status_check.py b/build/android/buildbot/bb_device_status_check.py |
index a021bfc892b1136e13951f486db1d70ac02802ad..d01fcaad0d1e61be4a7d17e9f32aa1013a8b0f0f 100755 |
--- a/build/android/buildbot/bb_device_status_check.py |
+++ b/build/android/buildbot/bb_device_status_check.py |
@@ -256,7 +256,7 @@ def RestartUsb(): |
def KillAllAdb(): |
def GetAllAdb(): |
for p in psutil.process_iter(): |
- if 'adb' in p.name or 'adb' in ' '.join(p.cmdline): |
+ if 'adb' in p.name: |
yield p |
for sig in [signal.SIGTERM, signal.SIGQUIT, signal.SIGKILL]: |