mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
added lower function for statuses
This commit is contained in:
committed by
Matt Clay
parent
f65d83cea0
commit
9ee857180b
@@ -77,7 +77,7 @@ def main():
|
||||
# Process 'name' Running - restart pending
|
||||
parts = line.split()
|
||||
if len(parts) > 2 and parts[0].lower() == 'process' and parts[1] == "'%s'" % name:
|
||||
return ' '.join(parts[2:])
|
||||
return ' '.join(parts[2:]).lower()
|
||||
else:
|
||||
return ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user