From 8e5ac033701c27360112f5fc13f1aa78c1326c11 Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 29 Dec 2019 11:20:44 +1000 Subject: Fix up some time stuff. --- apt-panopticon-report-email-web.lua | 2 +- apt-panopticon-update-data.lua | 9 ++------- apt-panopticon.lua | 4 +--- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua index 5598515..a08b901 100755 --- a/apt-panopticon-report-email-web.lua +++ b/apt-panopticon-report-email-web.lua @@ -608,7 +608,7 @@ if nil == web then C("opening mirrors file - " .. e) else "You can get the cgp graphing source code here (main repo)" .. "and here (Devuan repo).
\n" ) - local whn = APT.exe('TZ="GMT" ls -l1 --time-style="+%s" results/stamp | cut -d " " -f 6-6'):Do().result:sub(2, -2) + local whn = APT.exe('TZ="GMT" ls -dl1 --time-style="+%s" results/stamp | cut -d " " -f 6-6'):Do().result:sub(2, -2) web:write( "This run took " .. (os.time() - tonumber("0" .. whn)) .. " seconds.
" .. "\n