[Android] Fix KillHostHeartbeat for numerical user IDs.
BUG=405033 Review URL: https://codereview.chromium.org/490563002 git-svn-id: http://src.chromium.org/svn/trunk/src/build@290615 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
5c64851d8f
Коммит
499b3c3b36
|
@ -36,7 +36,7 @@ def KillHostHeartbeat():
|
|||
matches = re.findall('\\n.*host_heartbeat.*', stdout)
|
||||
for match in matches:
|
||||
logging.info('An instance of host heart beart running... will kill')
|
||||
pid = re.findall('(\d+)', match)[0]
|
||||
pid = re.findall('(\S+)', match)[1]
|
||||
subprocess.call(['kill', str(pid)])
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче