From a7d8c56c8830d1374b3224baa4f4c3a86dd69e81 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Fri, 25 Oct 2024 16:41:43 +1000 Subject: Don't complain about not finding something we actually found. --- _.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '_.lua') diff --git a/_.lua b/_.lua index a2607f5..03761d2 100755 --- a/_.lua +++ b/_.lua @@ -65,8 +65,7 @@ _.parse = function(args, options, confFile) h:close() local ar = dofile(p) for k, w in pairs(ar) do - doIt(k, w, k .. '=' .. tostring(w), args, i) - if nil == o then W('config variable not found ' .. k .. ' = ' .. tostring(w)) end + if nil == doIt(k, w, k .. '=' .. tostring(w), args, i) then W('config variable not found ' .. k .. ' = ' .. tostring(w)) end end end end -- cgit v1.1