Subject: Re: [bug#58345] [PATCH 2/3] guix-install.sh: Introduce 'die' utility function.

From: zimoun <[email-masked]>
Date: Fri, 07 Oct 2022 10:30:47 +0200

Hi Maxim,

On ven., 07 oct. 2022 at 01:31, Maxim Cournoyer <[email-masked]> wrote:

> +die()
> +{
> +    _err "${ERR}$*"
> +}
> +

[...]

> -            _err "${ERR}Unsupported CPU type: ${arch}"
> -            exit 1
> +            die "Unsupported CPU type: ${arch}"

This new script using ’die’, does it exit correctly and return an
appropriated exit code on failure?

Cheers,
simon