added lower function for statuses

This commit is contained in:
Lorenzo Luconi Trombacchi 2015-05-12 10:56:22 +02:00 committed by Matt Clay
parent f65d83cea0
commit 9ee857180b

View file

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