]> source.dussan.org Git - rspamd.git/commitdiff
Fix configtest
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 18 Nov 2015 15:38:08 +0000 (15:38 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 18 Nov 2015 15:38:08 +0000 (15:38 +0000)
src/rspamadm/configtest.c

index 65f358f66d99ab8f34eb1693533bbdffe060e5b2..7f2d1737fa62409af5411bf630a0d00fb512d5fb 100644 (file)
@@ -150,13 +150,18 @@ rspamadm_configtest (gint argc, gchar **argv)
        }
        else {
                /* Do post-load actions */
-               ret = rspamd_config_post_load (cfg, TRUE);
+               ret = rspamd_config_post_load (cfg, FALSE);
        }
 
        if (ret) {
                if (!rspamd_init_filters (rspamd_main->cfg, FALSE)) {
                        ret = FALSE;
                }
+               if (!rspamd_symbols_cache_validate (rspamd_main->cfg->cache,
+                               rspamd_main->cfg,
+                               FALSE)) {
+                       ret = FALSE;
+               }
        }
 
        if (strict && ret) {