| Index: build/android/provision_devices.py
|
| diff --git a/build/android/provision_devices.py b/build/android/provision_devices.py
|
| index 35cfb814c6fc14fd499fc8cb9d8a8455a0864636..44ae971876e0cb476115bde9a352271233a54ff2 100755
|
| --- a/build/android/provision_devices.py
|
| +++ b/build/android/provision_devices.py
|
| @@ -35,7 +35,7 @@ def KillHostHeartbeat():
|
| matches = re.findall('\\n.*host_heartbeat.*', stdout)
|
| for match in matches:
|
| print 'An instance of host heart beart running... will kill'
|
| - pid = re.findall('(\d+)', match)[1]
|
| + pid = re.findall('(\d+)', match)[0]
|
| subprocess.call(['kill', str(pid)])
|
|
|
|
|
|
|