From: Tobias Ulmer Date: Thu, 6 Feb 2014 18:45:54 +0000 (+0100) Subject: Add missed return false on error X-Git-Tag: e2factory-2.3.15rc1~228 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=560a2b351692127c2c363bb46724679eec6f1e41;p=e2factory.git Add missed return false on error Signed-off-by: Tobias Ulmer --- diff --git a/plugins/git.lua b/plugins/git.lua index 7fb5c45..c1587ea 100644 --- a/plugins/git.lua +++ b/plugins/git.lua @@ -361,7 +361,7 @@ function git.prepare_source(info, sourcename, sourceset, buildpath) work_tree = e2lib.join(buildpath, sourcename) rc, re = e2lib.mkdir_recursive(work_tree) if not rc then - return e:cat(re) + return false, e:cat(re) end argv = generic_git.git_new_argv(gitdir, work_tree, "checkout")