Fixes #2991: Service module pattern argument ignored.
@ -972,6 +972,7 @@ def main():
# Collect service status
if service.pattern:
service.check_ps()
else:
service.get_service_status()
# Calculate if request will change service state