From d2cef629fd5856540f6e1edf8f9d2131ec7a6942 Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Wed, 1 Jul 2015 22:55:47 +0200 Subject: [PATCH] scripts: environment: Return the exit status of the command. * 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 c6cac469e4..ecdbc7aa37 100644 --- a/guix/scripts/environment.scm +++ b/guix/scripts/environment.scm @@ -281,4 +281,4 @@ OUTPUT) tuples, using the build options in OPTS." (return #t)) (else (create-environment inputs paths pure?) - (return (system command))))))))))) + (return (exit (status:exit-val (system command)))))))))))))