~ruther/guix-local

9d1e56b76dc225373598d8d92c9d5f75eeba49ee — Ludovic Courtès 9 years ago 35c4aec
guix system: Fix the Shepherd error handling fix.

This is a followup to aa1e73a996ad170fecac848f203528aeb3d2173e.

* guix/scripts/system.scm (with-shepherd-error-handling): Return two
values when an exception is caught.
1 files changed, 1 insertions(+), 1 deletions(-)

M guix/scripts/system.scm
M guix/scripts/system.scm => guix/scripts/system.scm +1 -1
@@ 242,7 242,7 @@ expression in %STORE-MONAD."
  (lambda (store)
    (warn-on-system-error
     (guard (c ((shepherd-error? c)
                (report-shepherd-error c)))
                (values (report-shepherd-error c) store)))
       (values (run-with-store store (begin mbody ...))
               store)))))