commit | 7a18bb9c8c8d561842ddb6b97b6e3fc8ef00b659 | [log] [tgz] |
---|---|---|
author | Ilias Apalodimas <apalos@gmail.com> | Wed Apr 03 18:43:53 2024 +0300 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Mon Apr 08 13:03:37 2024 +0200 |
tree | a4c83030da005d3438c16268ee8e112f75b59b66 | |
parent | 75dffaa68af09b2525e3a3af0ef115d48c5edb0b [diff] |
efi_loader: Don't delete variable from memory if adding a new one failed Our efi_var_mem_xxx() functions don't have a replace variant. Instead we add a new variable and delete the old instance when trying to replace a variable. Currently we delete the old version without checking the new one got added Signed-off-by: Ilias Apalodimas <apalos@gmail.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>