diff options
Diffstat (limited to '')
-rw-r--r-- | apt-panopticommon.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index 55f0e40..1405622 100644 --- a/apt-panopticommon.lua +++ b/apt-panopticommon.lua | |||
@@ -425,8 +425,9 @@ APT.testing = function(t, host) | |||
425 | return false | 425 | return false |
426 | end | 426 | end |
427 | 427 | ||
428 | APT.execute = function (s) | 428 | APT.execute = function (s, logit) |
429 | D(" executing - <code>" .. s .. "</code>") | 429 | if nil == logit then logit = true end |
430 | if logit then D(" executing - <code>" .. s .. "</code>") end | ||
430 | --[[ Damn os.execute() | 431 | --[[ Damn os.execute() |
431 | Lua 5.1 says it returns "a status code, which is system-dependent" | 432 | Lua 5.1 says it returns "a status code, which is system-dependent" |
432 | Lua 5.2 says it returns true/nil, "exit"/"signal", the status code. | 433 | Lua 5.2 says it returns true/nil, "exit"/"signal", the status code. |