From: Tobias Ulmer Date: Thu, 21 Dec 2017 14:28:20 +0000 (+0100) Subject: e2build: ouch, repair error handling in helper_chroot_remove() X-Git-Tag: e2factory-2.3.18rc1~89 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=c66614647d5eee90bab6817d7bf663af3e5d7e6f;p=e2factory.git e2build: ouch, repair error handling in helper_chroot_remove() Signed-off-by: Tobias Ulmer --- diff --git a/local/e2build.lua b/local/e2build.lua index 6b0d623..1cbdabe 100644 --- a/local/e2build.lua +++ b/local/e2build.lua @@ -384,7 +384,7 @@ function e2build.build_process_class:helper_chroot_remove(res, rbs) rc, re = e2lib.e2_su_2_2({"remove_chroot_2_3", bc.base}) e2tool.reset_umask() if not rc then - return e:cat(re) + return false, e:cat(re) end rc, re = e2lib.unlink(bc.chroot_marker) if not rc then