isantop / kernelstub

A simple EFI boot manager manager for Linux
Other
87 stars 21 forks source link

Fix use of invalid index if os entry is not found #18

Closed jackpot51 closed 6 years ago

jackpot51 commented 6 years ago

This applies the same logic found here: https://github.com/isantop/kernelstub/blob/master/kernelstub/installer.py#L193

It will not try to index into nvram if the os_entry_index is invalid, and will leave the order_num unset