aboutsummaryrefslogtreecommitdiff
path: root/src/property/grub.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/property/grub.lisp')
-rw-r--r--src/property/grub.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/property/grub.lisp b/src/property/grub.lisp
index d2cbdfc..8fe7884 100644
--- a/src/property/grub.lisp
+++ b/src/property/grub.lisp
@@ -48,7 +48,7 @@
(mrun :inform "update-grub")
(when os-prober (file:has-mode "/etc/grub.d/30_os-prober" #o755)))
(mrun :inform "grub-install" (strcat "--target=" target)
- (and (string-suffix-p target "-efi") running-on-target
+ (and (string-suffix-p target "-efi") (not running-on-target)
"--no-nvram")
(and force-extra-removable "--force-extra-removable")
(device-file volume)))))