From 951f9649019ffece6c3b200e51089f41f93e65f2 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 9 May 2015 21:56:35 +0100 Subject: [PATCH] Die if some workers couldn't start. --- src/main.c | 6 ++++++ 1 file changed, 6 insertions(+) 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); -- 2.39.5