From 153ad3577576cd8beea75bec4d862d951612a0f1 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Thu, 11 Jul 2013 12:50:00 +0200 Subject: [PATCH] Simplify autocapture() Signed-off-by: Tobias Ulmer --- generic/e2lib.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/generic/e2lib.lua b/generic/e2lib.lua index 74f80b9..74deb74 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -1154,8 +1154,7 @@ end function e2lib.callcmd_capture(cmd, capture) local rc, oread, owrite, devnull, pid - local function autocapture(...) - local msg = table.concat({...}) + local function autocapture(msg) e2lib.log(3, msg) end -- 2.39.5