Merge pull request #3477 from bcoca/fix_service_checkmode

fixed check mode for service module
This commit is contained in:
Michael DeHaan 2013-07-08 12:44:44 -07:00
commit 714cb02f5b

View file

@ -561,7 +561,7 @@ class LinuxService(Service):
break
if self.module.check_mode:
self.module.exit_json(changed=changed)
self.module.exit_json(changed=self.changed)
if not self.changed:
return