diff options
Diffstat (limited to 'apt-panopticon-report-email-web.lua')
| -rwxr-xr-x | apt-panopticon-report-email-web.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua index 382b14d..94f0417 100755 --- a/apt-panopticon-report-email-web.lua +++ b/apt-panopticon-report-email-web.lua | |||
| @@ -49,7 +49,8 @@ local status = function(host, results, typ) | |||
| 49 | local w = 0 | 49 | local w = 0 |
| 50 | local s = nil ~= APT.mirrors[host].Protocols[typ] | 50 | local s = nil ~= APT.mirrors[host].Protocols[typ] |
| 51 | local to = results.timeout | 51 | local to = results.timeout |
| 52 | if ('http' ~= typ) and ('https' ~= typ) and ('ftp' ~= typ) and ('rsync' ~= typ) then s = true end | 52 | -- if ('http' ~= typ) and ('https' ~= typ) and ('ftp' ~= typ) and ('rsync' ~= typ) then s = true end |
| 53 | if not APT.search(APT.protocols, typ) then s = true end | ||
| 53 | if nil ~= results[typ] then | 54 | if nil ~= results[typ] then |
| 54 | e = results[typ].errors | 55 | e = results[typ].errors |
| 55 | w = results[typ].warnings | 56 | w = results[typ].warnings |
