Fixes #2991: Service module pattern argument ignored.

This commit is contained in:
Scott Sturdivant 2013-05-23 09:39:26 -06:00
parent 3926f76644
commit 0110b616cb

View file

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