diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-04 09:56:21 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-04 10:13:42 +0100 |
commit | 54291ebb7209c314bb52f507bc6a1ecf2a28fbc9 (patch) | |
tree | af71ac248c7570d944d82c6b2428eaacf70c9534 /config/seabios/default/patches/0001-romfile-implement-a-generic-loader.patch | |
parent | 3f7dc2a55f5b2273e73e17e4cec75faffe65740f (diff) |
lbmk: MUCH safer err function
Don't directly call a variable. Call a function that
checks the variable instead.
The new err function also checks whether an exit was
actually done, and exits 1 if not.
If an exit was done by the given function, but the exit
was zero, this is also corrected to perform an exit 1.
This fixes a longstanding design flaw of lbmk.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/seabios/default/patches/0001-romfile-implement-a-generic-loader.patch')
0 files changed, 0 insertions, 0 deletions