guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] guix environment: return the return value of the executed co


From: Thompson, David
Subject: Re: [PATCH] guix environment: return the return value of the executed command.
Date: Wed, 1 Jul 2015 17:45:37 -0400

For the patch title, change to: "scripts: environment: Return the exit
status of the command."

On Wed, Jul 1, 2015 at 5:03 PM, Cyril Roelandt <address@hidden> wrote:
> * gnu/scripts/environment.scm (guix-environment): return the return value of
>   (system command).

Rather:

    * guix/scripts/environment.scm (guix-environment): Return the exit
status of the command.

> ---
>  guix/scripts/environment.scm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm
> index 007fde1..95474e7 100644
> --- a/guix/scripts/environment.scm
> +++ b/guix/scripts/environment.scm
> @@ -254,4 +254,4 @@ packages."
>                 (show-search-paths inputs drvs pure?))
>                (else
>                 (create-environment inputs drvs pure?)
> -               (system command)))))))
> +               (exit (status:exit-val (system command)))))))))
> --
> 1.8.4.rc3

Please push after adjusting the commit log.

Thanks!

- Dave



reply via email to

[Prev in Thread] Current Thread [Next in Thread]