Minor tweak to service changed logic from the previous commit

reviewable/pr18780/r1
James Cammarata 11 years ago
parent 8bdb95a014
commit 3511687dad

@ -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']

Loading…
Cancel
Save