From: Gordon Hecker Date: Fri, 6 Aug 2010 09:31:27 +0000 (+0200) Subject: e2-install-e2: fix error checking for local tools build X-Git-Tag: e2factory-2.3.8~4 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=fba0a92f35e93dfbc8138f07544636bef9b5f7d6;p=e2factory.git e2-install-e2: fix error checking for local tools build Signed-off-by: Gordon Hecker --- diff --git a/global/e2-install-e2.lua.in b/global/e2-install-e2.lua.in index d8c8277..d7b64e2 100755 --- a/global/e2-install-e2.lua.in +++ b/global/e2-install-e2.lua.in @@ -202,7 +202,7 @@ end local cmd = string.format("make PREFIX='%s' local install-local", install_prefix) rc, re = e2lib.callcmd_capture(cmd) -if not rc then +if rc ~= 0 then e2lib.abort(e:cat(re)) end