Commit 714cb02f by Michael DeHaan

Merge pull request #3477 from bcoca/fix_service_checkmode

fixed check mode for service module
parents 1bf4a4fa 0664e36a
...@@ -561,7 +561,7 @@ class LinuxService(Service): ...@@ -561,7 +561,7 @@ class LinuxService(Service):
break break
if self.module.check_mode: if self.module.check_mode:
self.module.exit_json(changed=changed) self.module.exit_json(changed=self.changed)
if not self.changed: if not self.changed:
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment