From: Tobias Ulmer Date: Thu, 11 Jul 2013 10:50:00 +0000 (+0200) Subject: Simplify autocapture() X-Git-Tag: e2factory-2.3.15rc1~474 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=153ad3577576cd8beea75bec4d862d951612a0f1;p=e2factory.git Simplify autocapture() Signed-off-by: Tobias Ulmer --- 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