From 3207720a08803ae6eef61580b499b5fd9637459a Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 13 Nov 2019 22:51:20 +1000 Subject: Protect command listing in log files. --- apt-panopticon.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apt-panopticon.lua') diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 23ea2f0..d6bc05a 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua @@ -221,7 +221,7 @@ local testing = function(t, host) end local execute = function (s) - D(" executing " .. s) + D(" executing
" .. s .. "
") --[[ Damn os.execute() Lua 5.1 says it returns "a status code, which is system-dependent" Lua 5.2 says it returns true/nil, "exit"/"signal", the status code. @@ -240,7 +240,7 @@ local execute = function (s) end local fork = function(s) - D(" executing " .. s) + D(" executing " .. s .. "") os.execute(s .. " &") end -- cgit v1.1