aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2015-07-01 22:55:47 +0200
committerCyril Roelandt <tipecaml@gmail.com>2015-07-02 21:47:24 +0200
commitd2cef629fd5856540f6e1edf8f9d2131ec7a6942 (patch)
treeb152035358e1aa88ce6d9a8f345d1ecbd5783c88
parent08fa45b190f6c7c0c2e4ff489d68310b7674aa16 (diff)
downloadguix-d2cef629fd5856540f6e1edf8f9d2131ec7a6942.tar
guix-d2cef629fd5856540f6e1edf8f9d2131ec7a6942.tar.gz
scripts: environment: Return the exit status of the command.
* guix/scripts/environment.scm (guix-environment): Return the exit status of the command.
-rw-r--r--guix/scripts/environment.scm2
1 files changed, 1 insertions, 1 deletions
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)))))))))))))