Skip to content
Snippets Groups Projects
Commit 53403d98 authored by juga's avatar juga
Browse files

Give more information about where is the server password expected

parent 5f88bfde
No related branches found
No related tags found
No related merge requests found
......@@ -129,7 +129,11 @@ def main(args, conf, log_):
fail_hard('Sbws isn\'t initialized. Try sbws init', log=log)
if len(conf['server.passwords']) < 1:
fail_hard('Sbws server needs at least one password', log=log)
fail_hard('Sbws server needs at least one passwordin the section'\
' [server.passwords] in the config file in',
conf.get('sbws_home'),
'.See doc/XX for more information on the configuration.',
log=log)
server = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
h = (conf['server']['bind_ip'], conf.getint('server', 'bind_port'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment