diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-15 16:26:28 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-15 16:26:28 +0100 |
commit | 43780287c7e02c55920d641f653b492839f7eba0 (patch) | |
tree | 0a10275a2697bc849e06ee8370ab3357a582530c /src/libserver/rspamd_symcache.c | |
parent | 0cc8cc528eddfed3c358ed5ecc43281113d2a5f8 (diff) | |
download | rspamd-43780287c7e02c55920d641f653b492839f7eba0.tar.gz rspamd-43780287c7e02c55920d641f653b492839f7eba0.zip |
[Fix] Initialise symcache even if it cannot be loaded properly
Diffstat (limited to 'src/libserver/rspamd_symcache.c')
-rw-r--r-- | src/libserver/rspamd_symcache.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libserver/rspamd_symcache.c b/src/libserver/rspamd_symcache.c index 5c72a714d..2d2eb142f 100644 --- a/src/libserver/rspamd_symcache.c +++ b/src/libserver/rspamd_symcache.c @@ -1406,10 +1406,6 @@ rspamd_symcache_init (struct rspamd_symcache *cache) res = rspamd_symcache_load_items (cache, cache->cfg->cache_filename); } - if (!res) { - return res; - } - rspamd_symcache_post_init (cache); /* Connect metric symbols with symcache symbols */ |