From 3511687dad2ecb304d8efbdc094f52e7ea6ac3d8 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Thu, 19 Sep 2013 15:00:25 -0500 Subject: [PATCH] Minor tweak to service changed logic from the previous commit --- system/service | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/system/service b/system/service index 06cd1b373bd..114f6271e58 100644 --- a/system/service +++ b/system/service @@ -1134,9 +1134,7 @@ def main(): else: module.fail_json(msg=out) - if service.svc_change is True: - service.changed = True - result['changed'] = service.changed + result['changed'] = service.changed | service.svc_change if service.module.params['enabled'] is not None: result['enabled'] = service.module.params['enabled']