aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index f13e662..81e08eb 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1398,7 +1398,7 @@ function Bottle:run(args)
local line = path .. (#args > 0 and " " or "") .. table.concat(common.map(args, function(arg)
return "'" .. arg:gsub("'", "'\"'\"'"):gsub("\\", "\\\\") .. "'"
end), " ")
- log_action("Running " .. line)
+ if VERBOSE then log_action("Running " .. line) end
return os.execute(line)
end