From 25b2fa879710827e70008881c63e92e5ea06bcfa Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Thu, 6 Feb 2014 20:02:34 +0100 Subject: [PATCH] Log all external commands at debug level Signed-off-by: Tobias Ulmer --- generic/e2lib.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/generic/e2lib.lua b/generic/e2lib.lua index 2112cff..9beee2c 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -1306,6 +1306,9 @@ function e2lib.callcmd(argv, fdctv, workdir, envdict) local rc, re, pid local sync_pipes = {} + e2lib.logf(3, "calling %q in %q", table.concat(argv, " "), + workdir or "$PWD") + rc, re = fd_parent_setup(fdctv) if not rc then return false, re -- 2.39.5