rhboot / efibootmgr

efibootmgr development tree
GNU General Public License v2.0
514 stars 97 forks source link

get_entry: return entry if it was found before reaching the end of the list #178

Closed kmicki closed 1 year ago

kmicki commented 1 year ago

Fix for get_entry function. It was working only if the provided num matched the last entry in the list.

For all the others it returned null.

After the fix it works correctly, (allowing setting active status etc. of all entries).

ericma15 commented 1 year ago

I just face the same problem. I think your pull requests works. That will help SteamDeck gamers.