From 3fdcc12a05165f6aa88e35e5bb964c02f06a1a87 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 6 Nov 2019 16:24:32 +1000 Subject: Clear out more stuff on startup. --- apt-panopticon.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 4278762..1c1491a 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua @@ -625,7 +625,11 @@ if 0 < #arg then rfile:close() end else - if not keep then os.execute("rm -f results/*.log") end + if not keep then + os.execute("rm -f results/*.log") + os.execute("rm -f results/*.html") + os.execute("rm -f results/*.txt") + end os.execute("rm -f results/*.check") os.execute("mkdir -p results; touch results/stamp") logFile, e = io.open("results/apt-panopticon.log", "a+") -- cgit v1.1