summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--guix/scripts/system.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
index ec098a08eb..be726e2125 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -289,7 +289,8 @@ actions."
                (when grub?
                  (unless (install-grub grub.cfg device target)
                    (leave (_ "failed to install GRUB on device '~a'~%")
-                          device)))))
+                          device)))
+               (return #t)))
             ((init)
              (newline)
              (format #t (_ "initializing operating system under '~a'...~%")