Skip to content
Snippets Groups Projects
Commit 090b81ed authored by rswindell's avatar rswindell
Browse files

Exit with a helpful error message (rather than an obscure exception)

if there are no Fidonet addresses configured in SCFG->Networks->FidoNet.
parent 05f7fe3e
No related branches found
No related tags found
No related merge requests found
......@@ -1351,6 +1351,11 @@ if(stats_file.open("r")) {
log(LOG_INFO, version_notice + " invoked with options: " + argv.join(' '));
if (system.fido_addr_list.length < 1) {
alert("No system FidoNet address configured");
exit(1);
}
// If we're running as a service, call run_inbound().
if (sock !== undefined && sock.descriptor !== -1)
run_inbound(sock);
......
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