Keep 'process' lowercase to protect against upstream changes

pull/18777/head
Rob White 10 years ago committed by Matt Clay
parent ef8ca7c063
commit e6eb7d47eb

@ -76,7 +76,7 @@ def main():
# Process 'name' Running # Process 'name' Running
# Process 'name' Running - restart pending # Process 'name' Running - restart pending
parts = line.split() 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:]) return ' '.join(parts[2:])
else: else:
return '' return ''

Loading…
Cancel
Save