From: Vsevolod Stakhov Date: Sun, 17 Jan 2016 23:32:48 +0000 (+0000) Subject: Do not treat unknown worker type as fatal error X-Git-Tag: 1.1.0~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a11e4ab27b50d9729372ad33a4a09b648171fa57;p=thirdparty%2Frspamd.git Do not treat unknown worker type as fatal error --- diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index aafbf54279..f4e32c75a2 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");