From 407ce92322b9f69ca3f5adf4cdc24b6edfd013c6 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 17 Aug 2023 11:34:58 +0100 Subject: [PATCH] [Minor] Do not treat hyperscan load failure as a fatal error --- src/libserver/cfg_utils.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libserver/cfg_utils.cxx b/src/libserver/cfg_utils.cxx index 3b96a268e..f2253e051 100644 --- a/src/libserver/cfg_utils.cxx +++ b/src/libserver/cfg_utils.cxx @@ -923,10 +923,6 @@ rspamd_config_post_load(struct rspamd_config *cfg, auto hs_ret = rspamd_re_cache_load_hyperscan(cfg->re_cache, cfg->hs_cache_dir ? cfg->hs_cache_dir : RSPAMD_DBDIR "/", true); - - if (hs_ret == RSPAMD_HYPERSCAN_LOAD_ERROR) { - ret = FALSE; - } } if (opts & RSPAMD_CONFIG_INIT_LIBS) { -- 2.39.5