Using latest Uroni UrBackup Docker container.
Edits to the report script are not reflected in the outputted e-mail.
For example, I deleted the code listed below from the report script, however, the msg body of the outputted e-mail hasn’t changed and still contains the same original output. Also, I believe the for loop below from the original report script should terminate with done instead of end?
for i, v in ipairs(params.data)
local ll = “(info)”
if v.ll==1 then ll="(warning)"
elseif v.ll==2 then ll="(error)" end
msg = msg … os.date("%Y-%m-%d %H:%M:%S", v.time) … ll … ": " … v.msg … “\n”