added lower function for statuses

reviewable/pr18780/r1
Lorenzo Luconi Trombacchi 10 years ago committed by Greg DeKoenigsberg
parent 25acd524e7
commit 2bcb0d4c08

@ -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 ''

Loading…
Cancel
Save