aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/rspamadm/configwizard.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-31 15:52:18 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-31 15:52:18 +0100
commit3ae5051edd25d8b3ef46e50e08c4148a27b3aa8a (patch)
treeb79ca80c9cd52b7c32c6d512c3aaaceee4f18037 /lualib/rspamadm/configwizard.lua
parent250b41e5280cc5a653bb15ffad6e800149b2a6ed (diff)
downloadrspamd-3ae5051edd25d8b3ef46e50e08c4148a27b3aa8a.tar.gz
rspamd-3ae5051edd25d8b3ef46e50e08c4148a27b3aa8a.zip
[Fix] Fix plugins intialisation in configwizard
Diffstat (limited to 'lualib/rspamadm/configwizard.lua')
-rw-r--r--lualib/rspamadm/configwizard.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/lualib/rspamadm/configwizard.lua b/lualib/rspamadm/configwizard.lua
index a71c6f236..10134c575 100644
--- a/lualib/rspamadm/configwizard.lua
+++ b/lualib/rspamadm/configwizard.lua
@@ -625,6 +625,11 @@ return {
os.exit(1)
end
+ if not rspamd_config:init_modules() then
+ rspamd_logger.errx('cannot init modules when parsing %s', opts['config'])
+ os.exit(1)
+ end
+
if #args > 0 then
interactive_start = false