Fixes #2991: Service module pattern argument ignored.

This commit is contained in:
Scott Sturdivant 2013-05-23 09:39:26 -06:00
parent 8f3b2b281f
commit b274fb9774

View file

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