mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
forthloader: Don't break BIOS boots...
I thought I tested this scenario, but clearly I failed to. =( BIOS boots won't have efi-autoresizecons, so trying to use it as a forth word fails during include. Use evaluate on "efi-autoresizecons" as a string instead to move any potential errors to runtime- safely after we've already checked that we're booting UEFI. Pointy hat to: me Reported by: cy
This commit is contained in:
parent
5401e09688
commit
9afece1e2f
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ only forth definitions
|
|||
|
||||
: maybe-efi-resizecons
|
||||
efiboot? if
|
||||
efi-autoresizecons
|
||||
s" efi-autoresizecons" evaluate
|
||||
then
|
||||
;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue