scripts: environment: Return the exit status of the command.

* guix/scripts/environment.scm (guix-environment): Return the exit
  status of the command.
This commit is contained in:
Cyril Roelandt 2015-07-01 22:55:47 +02:00
parent 08fa45b190
commit d2cef629fd
1 changed files with 1 additions and 1 deletions

View File

@ -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)))))))))))))