diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-09 21:56:35 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-09 21:56:35 +0100 |
commit | 951f9649019ffece6c3b200e51089f41f93e65f2 (patch) | |
tree | b7f76a0eb1e7da96382634733bb6903f351ea82c /src | |
parent | 6dd83c3d1009dcacd75fef9e503294bd48f2cf7f (diff) | |
download | rspamd-951f9649019ffece6c3b200e51089f41f93e65f2.tar.gz rspamd-951f9649019ffece6c3b200e51089f41f93e65f2.zip |
Die if some workers couldn't start.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
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); |