From b6d004973cdeab7c6543ff725c108f76b9b6f577 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Mon, 22 May 2017 19:00:05 +0200 Subject: [PATCH] generic_git: fix error handling found by Anton Hillebrand Signed-off-by: Tobias Ulmer --- generic/generic_git.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/generic_git.lua b/generic/generic_git.lua index 6a5b2b2..8d87a9b 100644 --- a/generic/generic_git.lua +++ b/generic/generic_git.lua @@ -149,7 +149,7 @@ function generic_git.git(argv) rc, re = e2lib.callcmd_capture(git, capture) if not rc then - e = new.new("git command %q failed", table.concat(git, " ")) + e = err.new("git command %q failed", table.concat(git, " ")) return false, e:cat(re), table.concat(out) elseif rc ~= 0 then e = err.new("git command %q failed with exit status %d", -- 2.39.5