diff options
author | onefang | 2019-12-29 11:20:44 +1000 |
---|---|---|
committer | onefang | 2019-12-29 11:20:44 +1000 |
commit | 8e5ac033701c27360112f5fc13f1aa78c1326c11 (patch) | |
tree | 6ee28f40370d9b7ce4af8882df903059591c4e62 /apt-panopticon-report-email-web.lua | |
parent | Refactor nested pairs() calls. (diff) | |
download | apt-panopticon-8e5ac033701c27360112f5fc13f1aa78c1326c11.zip apt-panopticon-8e5ac033701c27360112f5fc13f1aa78c1326c11.tar.gz apt-panopticon-8e5ac033701c27360112f5fc13f1aa78c1326c11.tar.bz2 apt-panopticon-8e5ac033701c27360112f5fc13f1aa78c1326c11.tar.xz |
Fix up some time stuff.
Diffstat (limited to 'apt-panopticon-report-email-web.lua')
-rwxr-xr-x | apt-panopticon-report-email-web.lua | 2 |
1 files changed, 1 insertions, 1 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 | |||
608 | "You can get the cgp graphing <a href='https://sledjhamr.org/cgit/apt-panopticon_cgp/about/'>source code here (main repo)</a>" .. | 608 | "You can get the cgp graphing <a href='https://sledjhamr.org/cgit/apt-panopticon_cgp/about/'>source code here (main repo)</a>" .. |
609 | "and <a href='https://git.devuan.org/onefang/apt-panopticon_cgp'>here (Devuan repo)</a>.</p>\n" | 609 | "and <a href='https://git.devuan.org/onefang/apt-panopticon_cgp'>here (Devuan repo)</a>.</p>\n" |
610 | ) | 610 | ) |
611 | local whn = APT.exe('TZ="GMT" ls -l1 --time-style="+%s" results/stamp | cut -d " " -f 6-6'):Do().result:sub(2, -2) | 611 | local whn = APT.exe('TZ="GMT" ls -dl1 --time-style="+%s" results/stamp | cut -d " " -f 6-6'):Do().result:sub(2, -2) |
612 | web:write( "<p>This run took " .. (os.time() - tonumber("0" .. whn)) .. " seconds.</p>" .. | 612 | web:write( "<p>This run took " .. (os.time() - tonumber("0" .. whn)) .. " seconds.</p>" .. |
613 | "\n</body></html>\n") | 613 | "\n</body></html>\n") |
614 | web:close() | 614 | web:close() |