From cafd4c5d4ae2de4266026d44f9340fa3de2f2b40 Mon Sep 17 00:00:00 2001 From: onefang Date: Sat, 28 Dec 2019 22:45:36 +1000 Subject: Finish the executable refactor, by using it and removing the original. --- apt-panopticon-report-email-web.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apt-panopticon-report-email-web.lua') diff --git a/apt-panopticon-report-email-web.lua b/apt-panopticon-report-email-web.lua index 67d4d13..3304fb2 100755 --- a/apt-panopticon-report-email-web.lua +++ b/apt-panopticon-report-email-web.lua @@ -645,8 +645,8 @@ 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 status, whn = APT.execute('TZ="GMT" ls -l1 --time-style="+%s" results/stamp | cut -d " " -f 6-6') - web:write( "

This run took " .. (os.time() - tonumber("0" .. whn:sub(2, -2))) .. " seconds.

" .. + local whn = APT.exe('TZ="GMT" ls -l1 --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\n") web:close() end -- cgit v1.1