diff options
-rw-r--r-- | apt-panopticommon.lua | 2 | ||||
-rwxr-xr-x | apt-panopticon.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index c03f817..e40ec0a 100644 --- a/apt-panopticommon.lua +++ b/apt-panopticommon.lua | |||
@@ -34,7 +34,7 @@ APT.options = | |||
34 | ' 2 = high - Also download Packages.xz files that changed, unpack and check them.\n' .. | 34 | ' 2 = high - Also download Packages.xz files that changed, unpack and check them.\n' .. |
35 | ' Also download and check InRelease files\n.' .. | 35 | ' Also download and check InRelease files\n.' .. |
36 | ' Pick a few small packages, download them, check their SHA512.\n' .. | 36 | ' Pick a few small packages, download them, check their SHA512.\n' .. |
37 | ' 3 = more - Also pick more packages, some for each arch.\n' .. | 37 | ' 3 = more - Also pick more files and packages, some for each reelase / arch.\n' .. |
38 | ' 4 = all - Do absolutely everything.\n' .. | 38 | ' 4 = all - Do absolutely everything.\n' .. |
39 | ' Actually download some Contents files, and some more Packages.xz, and package files.', | 39 | ' Actually download some Contents files, and some more Packages.xz, and package files.', |
40 | value = 2, | 40 | value = 2, |
diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 3834ced..b6a6218 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
@@ -445,7 +445,7 @@ local checkFiles = function (host, ip, path, file) | |||
445 | end | 445 | end |
446 | end | 446 | end |
447 | end | 447 | end |
448 | if 0 == APT.options.bandwidth.value then break end | 448 | if 2 >= APT.options.bandwidth.value then break end |
449 | end | 449 | end |
450 | if 1 <= APT.options.bandwidth.value then | 450 | if 1 <= APT.options.bandwidth.value then |
451 | for i, s in pairs(referenceDevs) do | 451 | for i, s in pairs(referenceDevs) do |