aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index eb90be09e..5f34c1055 100644
--- a/src/main.c
+++ b/src/main.c
@@ -683,12 +683,10 @@ spawn_workers (struct rspamd_main *rspamd)
if (listen_ok) {
if (cf->worker->unique) {
if (cf->count > 1) {
- msg_err ("cannot spawn more than 1 %s worker, so spawn one",
+ msg_warn ("cannot spawn more than 1 %s worker, so spawn one",
cf->worker->name);
}
- else {
- fork_worker (rspamd, cf);
- }
+ fork_worker (rspamd, cf);
}
else if (cf->worker->threaded) {
fork_worker (rspamd, cf);