Commit bed49adb authored by Mika Havela's avatar Mika Havela

Small bugfix

git-svn-id: svn://svn.alpinelinux.org/acf/fetchmail/trunk@925 ab2d0c66-481e-0410-8bed-d214d4d58bed
parent 913b0dbe
......@@ -300,7 +300,7 @@ function get_filedetails()
-- Sum all errors into one cfe
local sumerrors = ""
for k,v in pairs(config) do
if (config[k]["errtxt"] ~= "") then
if (config[k]) and (config[k]["errtxt"]) and (config[k]["errtxt"] ~= "") then
sumerrors = sumerrors .. config[k]["errtxt"] .. "\n"
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment