fixed check mode

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
This commit is contained in:
Brian Coca 2013-07-08 15:41:39 -04:00
parent 1bf4a4fa97
commit 0664e36aa2

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