From 515c9b638996838b6eb89482321418ded06aaa52 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 4 Dec 2019 08:14:59 +1000 Subject: Report the timeout differently, the other was a hack that caused problems. --- apt-panopticon.lua | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'apt-panopticon.lua') diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 5aa1e8d..f0a3128 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua @@ -1055,17 +1055,9 @@ if 0 < #arg then end end + results["timeout"] = false else - for k, v in pairs{"ftp", "http", "https", "rsync"} do - if testing(v) then - local tests = results[v] - if testing("Integrity") then tests.Integrity = {errors = -1; warnings = -1} end - if testing("Protocol") then tests.Protocol = {errors = -1; warnings = -1} end - if testing("Updated") then tests.Updated = {errors = -1; warnings = -1} end - if testing("URLSanity") then tests.URLSanity = {errors = -1; warnings = -1} end - results[v] = tests - end - end + results["timeout"] = true end end -- cgit v1.1