summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/scripts/system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
index 992acdbca2..209ebf9752 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -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)))))