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

View file

@ -281,4 +281,4 @@ (define (handle-argument arg result)
(return #t))
(else
(create-environment inputs paths pure?)
(return (system command)))))))))))
(return (exit (status:exit-val (system command)))))))))))))