diff options
Diffstat (limited to 'apt-panopticon.lua')
| -rwxr-xr-x | apt-panopticon.lua | 12 |
1 files changed, 2 insertions, 10 deletions
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 | |||
| 1055 | end | 1055 | end |
| 1056 | end | 1056 | end |
| 1057 | 1057 | ||
| 1058 | results["timeout"] = false | ||
| 1058 | else | 1059 | else |
| 1059 | for k, v in pairs{"ftp", "http", "https", "rsync"} do | 1060 | results["timeout"] = true |
| 1060 | if testing(v) then | ||
| 1061 | local tests = results[v] | ||
| 1062 | if testing("Integrity") then tests.Integrity = {errors = -1; warnings = -1} end | ||
| 1063 | if testing("Protocol") then tests.Protocol = {errors = -1; warnings = -1} end | ||
| 1064 | if testing("Updated") then tests.Updated = {errors = -1; warnings = -1} end | ||
| 1065 | if testing("URLSanity") then tests.URLSanity = {errors = -1; warnings = -1} end | ||
| 1066 | results[v] = tests | ||
| 1067 | end | ||
| 1068 | end | ||
| 1069 | end | 1061 | end |
| 1070 | end | 1062 | end |
| 1071 | 1063 | ||
