diff options
Diffstat (limited to '')
-rwxr-xr-x | apt-panopticon.lua | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua index c5b76b3..cd3b38e 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
@@ -654,17 +654,7 @@ if 0 < #arg then | |||
654 | APT.mirrors = loadfile("results/mirrors.lua")() | 654 | APT.mirrors = loadfile("results/mirrors.lua")() |
655 | if nil ~= arg[2] then I(" Using IP " .. arg[2]); ip = arg[2] end | 655 | if nil ~= arg[2] then I(" Using IP " .. arg[2]); ip = arg[2] end |
656 | if nil ~= arg[3] then I(" Using file " .. arg[3]); end | 656 | if nil ~= arg[3] then I(" Using file " .. arg[3]); end |
657 | 657 | APT.results = APT.padResults(APT.results) | |
658 | for k, v in pairs{"ftp", "http", "https", "rsync"} do | ||
659 | if APT.testing(v) then | ||
660 | local tests = {errors = 0; warnings = 0} | ||
661 | if APT.testing("Integrity") then tests.Integrity = {errors = 0; warnings = 0} end | ||
662 | if APT.testing("Protocol") then tests.Protocol = {errors = 0; warnings = 0} end | ||
663 | if APT.testing("Updated") then tests.Updated = {errors = 0; warnings = 0} end | ||
664 | if APT.testing("URLSanity") then tests.URLSanity = {errors = 0; warnings = 0} end | ||
665 | APT.results[v] = tests | ||
666 | end | ||
667 | end | ||
668 | if APT.origin then | 658 | if APT.origin then |
669 | if APT.testing("Integrity") or APT.testing("Updated") then | 659 | if APT.testing("Integrity") or APT.testing("Updated") then |
670 | if APT.origin and (APT.options.roundRobin.value ~= pu.host) then | 660 | if APT.origin and (APT.options.roundRobin.value ~= pu.host) then |