summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.c6
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);