From d82c63891fbb2791bdf4d5836203d068dd7f4ebd Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Tue, 12 Jul 2016 17:54:15 +0200 Subject: [PATCH] Fail on startup when lua-dns-script doesn't exist Closes #4147 --- pdns/lua-recursor4.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pdns/lua-recursor4.cc b/pdns/lua-recursor4.cc index f3b9ace731..f2d199671e 100644 --- a/pdns/lua-recursor4.cc +++ b/pdns/lua-recursor4.cc @@ -437,8 +437,7 @@ RecursorLua4::RecursorLua4(const std::string& fname) ifstream ifs(fname); if(!ifs) { - theL()<executeCode(ifs); -- 2.47.2