Commit 4cfda2a9 by Paul Sbarra

service: fix systemd compilation error with --check

parent 93402984
......@@ -499,7 +499,7 @@ class LinuxService(Service):
self.changed = True
if self.module.check_mode and changed:
if self.module.check_mode and self.changed:
self.module.exit_json(changed=True)
return self.execute_command("%s %s %s" % args)
......
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