Keep 'process' lowercase to protect against upstream changes

reviewable/pr18780/r1
Rob White 10 years ago
parent 0f45029827
commit 13285765a8

@ -76,7 +76,7 @@ def main():
# Process 'name' Running
# Process 'name' Running - restart pending
parts = line.split()
if len(parts) > 2 and parts[0] == 'Process' and parts[1] == "'%s'" % name:
if len(parts) > 2 and parts[0].lower() == 'process' and parts[1] == "'%s'" % name:
return ' '.join(parts[2:])
else:
return ''

Loading…
Cancel
Save