summaryrefslogtreecommitdiff
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 7a4a2a6a06..c71ad4cbe9 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -113,7 +113,7 @@ When GRUB? is true, install GRUB on DEVICE, using GRUB.CFG."
(populate-root-file-system target)
(when grub?
- (unless (install-grub grub.cfg device target)
+ (unless (false-if-exception (install-grub grub.cfg device target))
(leave (_ "failed to install GRUB on device '~a'~%") device))))