From: Vsevolod Stakhov Date: Sat, 9 May 2015 20:56:35 +0000 (+0100) Subject: Die if some workers couldn't start. X-Git-Tag: 0.9.0~52 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=951f9649019ffece6c3b200e51089f41f93e65f2;p=rspamd.git Die if some workers couldn't start. --- diff --git a/src/main.c b/src/main.c index fb9ec3470..eb90be09e 100644 --- a/src/main.c +++ b/src/main.c @@ -699,6 +699,12 @@ spawn_workers (struct rspamd_main *rspamd) } } } + else { + msg_err ("cannot create listen socket for %s at %s", + g_quark_to_string (cf->type), cf->bind_conf->name); + + exit (EXIT_FAILURE); + } } cur = g_list_next (cur);