diff options
| author | onefang | 2019-12-28 22:46:17 +1000 |
|---|---|---|
| committer | onefang | 2019-12-28 22:46:17 +1000 |
| commit | b7251263cdaeec4d301ebc49b51d9ce03bfcaf44 (patch) | |
| tree | b343645f765e2b18f1373c515b121f37e443386b | |
| parent | Finish the executable refactor, by using it and removing the original. (diff) | |
| download | apt-panopticon-b7251263cdaeec4d301ebc49b51d9ce03bfcaf44.zip apt-panopticon-b7251263cdaeec4d301ebc49b51d9ce03bfcaf44.tar.gz apt-panopticon-b7251263cdaeec4d301ebc49b51d9ce03bfcaf44.tar.bz2 apt-panopticon-b7251263cdaeec4d301ebc49b51d9ce03bfcaf44.tar.xz | |
The answer to life, the universe, and input validation.
| -rwxr-xr-x | apt-panopticon.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 777fdf3..5bbe1b1 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
| @@ -629,6 +629,7 @@ local getMirrors = function () | |||
| 629 | file:write(APT.dumpTable(mirrors, "mirrors") .. "\nreturn mirrors\n") | 629 | file:write(APT.dumpTable(mirrors, "mirrors") .. "\nreturn mirrors\n") |
| 630 | file:close() | 630 | file:close() |
| 631 | end | 631 | end |
| 632 | if 42 < #mirrors then print(#mirrors .. ' is too many mirrors!') ; os.exit(false) end | ||
| 632 | return mirrors | 633 | return mirrors |
| 633 | end | 634 | end |
| 634 | 635 | ||
