aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-17 23:32:48 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-17 23:32:48 +0000
commita11e4ab27b50d9729372ad33a4a09b648171fa57 (patch)
tree45c4a76ab22f171ce7d47b0dd8af2c5255662016 /src/libserver
parentcbd696d83e64ae642859bca9ba69241082705e6d (diff)
downloadrspamd-a11e4ab27b50d9729372ad33a4a09b648171fa57.tar.gz
rspamd-a11e4ab27b50d9729372ad33a4a09b648171fa57.zip
Do not treat unknown worker type as fatal error
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/cfg_rcl.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index aafbf5427..f4e32c75a 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -567,12 +567,8 @@ rspamd_rcl_worker_handler (rspamd_mempool_t *pool, const ucl_object_t *obj,
}
}
else {
- g_set_error (err,
- CFG_RCL_ERROR,
- EINVAL,
- "unknown worker type: %s",
- worker_type);
- return FALSE;
+ msg_err_config ("unknown worker type: %s", worker_type);
+ return TRUE;
}
val = ucl_object_find_key (obj, "bind_socket");