]> git.e2factory.org Git - e2factory.git/commitdiff
e2build: ouch, repair error handling in helper_chroot_remove()
authorTobias Ulmer <tu@emlix.com>
Thu, 21 Dec 2017 14:28:20 +0000 (15:28 +0100)
committerTobias Ulmer <tu@emlix.com>
Mon, 10 Dec 2018 17:00:11 +0000 (18:00 +0100)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
local/e2build.lua

index 6b0d623877cd7eb2b0b9b510c5f21bec9b88da76..1cbdabe2017b2fb6c9e154088d59895d5cca69e5 100644 (file)
@@ -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