Refine error message.

pull/4420/head
Michael DeHaan 2013-05-31 15:23:24 -04:00
parent 0b30c74e86
commit 69d514100c
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ class LinuxService(Service):
self.svc_cmd = location['systemctl'] self.svc_cmd = location['systemctl']
if self.svc_cmd is None and not self.svc_initscript: 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): if location.get('initctl', None):
self.svc_initctl = location['initctl'] self.svc_initctl = location['initctl']