From b7251263cdaeec4d301ebc49b51d9ce03bfcaf44 Mon Sep 17 00:00:00 2001 From: onefang Date: Sat, 28 Dec 2019 22:46:17 +1000 Subject: The answer to life, the universe, and input validation. --- apt-panopticon.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'apt-panopticon.lua') 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 () file:write(APT.dumpTable(mirrors, "mirrors") .. "\nreturn mirrors\n") file:close() end + if 42 < #mirrors then print(#mirrors .. ' is too many mirrors!') ; os.exit(false) end return mirrors end -- cgit v1.1