guix-devel
[Top][All Lists]
Advanced

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

[PATCH] guix environment: return the return value of the executed comman


From: Cyril Roelandt
Subject: [PATCH] guix environment: return the return value of the executed command.
Date: Wed, 1 Jul 2015 23:03:38 +0200

* gnu/scripts/environment.scm (guix-environment): return the return value of
  (system 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




reply via email to

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