added lower function for statuses
This commit is contained in:
parent
f65d83cea0
commit
9ee857180b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue