aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/configdump.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-21 11:08:13 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-21 11:08:13 +0000
commitb65f3234c48e80ef3494dfb58a9c48cb78822fb7 (patch)
tree7ebea0461676547cbfa0d603149f963a00973346 /src/rspamadm/configdump.c
parent1464550609b1964829a05b6cec7708f9b91a536f (diff)
downloadrspamd-b65f3234c48e80ef3494dfb58a9c48cb78822fb7.tar.gz
rspamd-b65f3234c48e80ef3494dfb58a9c48cb78822fb7.zip
[Minor] Fix strict config checks
Diffstat (limited to 'src/rspamadm/configdump.c')
-rw-r--r--src/rspamadm/configdump.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/rspamadm/configdump.c b/src/rspamadm/configdump.c
index de45d1cee..bbd219e3d 100644
--- a/src/rspamadm/configdump.c
+++ b/src/rspamadm/configdump.c
@@ -285,13 +285,8 @@ rspamadm_configdump (gint argc, gchar **argv, const struct rspamadm_command *cmd
/* Do post-load actions */
rspamd_lua_post_load_config (cfg);
- if (!rspamd_init_filters (rspamd_main->cfg, FALSE)) {
- ret = FALSE;
- }
-
- if (ret) {
- ret = rspamd_config_post_load (cfg, RSPAMD_CONFIG_INIT_SYMCACHE);
- }
+ (void)rspamd_init_filters (rspamd_main->cfg, false, false);
+ rspamd_config_post_load (cfg, RSPAMD_CONFIG_INIT_SYMCACHE);
}
if (ret) {