diff --git a/sbws/commands/server.py b/sbws/commands/server.py index 7faddb2bf8396eb193c733ad82fb559f4b23a4f4..6978e87a0707c59bf4404e9ee5c265eaef9efe1c 100644 --- a/sbws/commands/server.py +++ b/sbws/commands/server.py @@ -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'))