diff options
Diffstat (limited to '')
-rwxr-xr-x | apt-panopticon.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 9f4d073..cd1bca0 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
@@ -43,7 +43,7 @@ options = | |||
43 | -- "rsync", | 43 | -- "rsync", |
44 | "DNSRR", | 44 | "DNSRR", |
45 | "Protocol", | 45 | "Protocol", |
46 | -- "URL-Sanity", | 46 | -- "URLSanity", |
47 | -- "Integrity", | 47 | -- "Integrity", |
48 | -- "Updated", | 48 | -- "Updated", |
49 | }, | 49 | }, |
@@ -427,7 +427,7 @@ checkHEAD = function (host, URL, r, retry) | |||
427 | --max-redirs n - set maximum redirects, default is 50, -1 = unlimited. | 427 | --max-redirs n - set maximum redirects, default is 50, -1 = unlimited. |
428 | --retry n - maximum retries, default is 0, no retries. | 428 | --retry n - maximum retries, default is 0, no retries. |
429 | -o file - write to file instead of stdout. | 429 | -o file - write to file instead of stdout. |
430 | --path-as-is - https://curl.haxx.se/libcurl/c/CURLOPT_PATH_AS_IS.html might be useful for URL_sanity. | 430 | --path-as-is - https://curl.haxx.se/libcurl/c/CURLOPT_PATH_AS_IS.html might be useful for URLSanity. |
431 | -s silent - don't output progress or error messages. | 431 | -s silent - don't output progress or error messages. |
432 | --connect-timeout n - timeout in seconds. | 432 | --connect-timeout n - timeout in seconds. |
433 | Should return with error code 28 on a timeout? | 433 | Should return with error code 28 on a timeout? |
@@ -767,10 +767,10 @@ if 0 < #arg then | |||
767 | for k, v in pairs{"ftp", "http", "https", "rsync"} do | 767 | for k, v in pairs{"ftp", "http", "https", "rsync"} do |
768 | if testing(v) then | 768 | if testing(v) then |
769 | local tests = {errors = 0; warnings = 0} | 769 | local tests = {errors = 0; warnings = 0} |
770 | if testing("Integrity") then tests.Integrity = {errors = 0; warnings = 0} end | 770 | if testing("Integrity") then tests.Integrity = {errors = 0; warnings = 0} end |
771 | if testing("Protocol") then tests.Protocol = {errors = 0; warnings = 0} end | 771 | if testing("Protocol") then tests.Protocol = {errors = 0; warnings = 0} end |
772 | if testing("Updated") then tests.Updated = {errors = 0; warnings = 0} end | 772 | if testing("Updated") then tests.Updated = {errors = 0; warnings = 0} end |
773 | if testing("URL-Sanity") then tests.URL_Sanity = {errors = 0; warnings = 0} end | 773 | if testing("URLSanity") then tests.URLSanity = {errors = 0; warnings = 0} end |
774 | results[v] = tests | 774 | results[v] = tests |
775 | end | 775 | end |
776 | end | 776 | end |