bootloader: limine: Remove use of false-if-exception.

There already exists an exception handler.

* modules/rosenthal/bootloader/limine.scm (limine-configuration-file): Remove
use of false-if-exception.
This commit is contained in:
Hilton Chain committed 2026-03-03 15:39:02 +08:00
1 parent ef75c33357
commit 11d821da23
1 file changed
+1 -2
+1 -2
View File
@@ -78,7 +78,6 @@
current-label) current-label)
(unless (null? old-labels) (unless (null? old-labels)
(format port "~%/GNU system, old configurations...~%")) (format port "~%/GNU system, old configurations...~%"))
(false-if-exception
(let loop ((count 1) (let loop ((count 1)
(labels old-labels) (labels old-labels)
(args old-args)) (args old-args))
@@ -102,7 +101,7 @@
count))) count)))
(loop (1+ count) (loop (1+ count)
(cdr labels) (cdr labels)
(cdr args)))))))))) (cdr args)))))))))
(rename-file (in-vicinity limine-directory "limine.conf.tmp") (rename-file (in-vicinity limine-directory "limine.conf.tmp")
(in-vicinity limine-directory "limine.conf"))))))) (in-vicinity limine-directory "limine.conf")))))))