Commit 69d51410 by Michael DeHaan

Refine error message.

parent 0b30c74e
......@@ -409,7 +409,7 @@ class LinuxService(Service):
self.svc_cmd = location['systemctl']
if self.svc_cmd is None and not self.svc_initscript:
self.module.fail_json(msg='cannot find \'service\' binary or init script for service, aborting')
self.module.fail_json(msg='cannot find \'service\' binary or init script for service, possible typo in service name?, aborting')
if location.get('initctl', None):
self.svc_initctl = location['initctl']
......
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