service: fix systemd compilation error with --check

reviewable/pr18780/r1
Paul Sbarra 12 years ago
parent 6dec0d12b0
commit 4975e11699

@ -499,7 +499,7 @@ class LinuxService(Service):
self.changed = True self.changed = True
if self.module.check_mode and changed: if self.module.check_mode and self.changed:
self.module.exit_json(changed=True) self.module.exit_json(changed=True)
return self.execute_command("%s %s %s" % args) return self.execute_command("%s %s %s" % args)

Loading…
Cancel
Save