I submitted a patch for this two weeks ago

https://mailman.archlinux.org/pipermail/arch-projects/2014-May/004158.html


On Sun, Jun 1, 2014 at 9:16 PM, Dave Reisner <[email protected]> wrote:

> Fixes a breakage introduced in 6db31cc16a80442 which leads to errors
> being masked from makechrootpkg.
>
> https://bugs.archlinux.org/task/40620
> ---
>  lib/common.sh | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/lib/common.sh b/lib/common.sh
> index e4bb91f..d9d7676 100644
> --- a/lib/common.sh
> +++ b/lib/common.sh
> @@ -79,8 +79,9 @@ trap_abort() {
>  }
>
>  trap_exit() {
> +       local r=$?
>         trap - EXIT INT QUIT TERM HUP
> -       cleanup
> +       cleanup $r
>  }
>
>  die() {
> --
> 1.9.3
>
>

Reply via email to