diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-03 03:31:09 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-03 03:31:09 +0000 |
| commit | 7213bba0c57d550676bb3adf56884c6bc60285da (patch) | |
| tree | 6afc781c2d383850c4aa74569f57c5b7f4bc67df /config/u-boot/x86 | |
| parent | 490f311d05cc3ba63f506989311edeed8d26c64a (diff) | |
util/nvmutil: don't exit with errno as status
exit with 0 or 1, as is proper.
errno is an int, but the return value on a shell
can be e.g. byte, and depending how that number (errno)
is valued, could overflow and cause a zero exit, where
you want a non-zero exit.
the code has been changed, in such a way to maintain
current behaviour (don't change errno), except that when
errno is set upon exit, the exit value is now one.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/u-boot/x86')
0 files changed, 0 insertions, 0 deletions
