commit | 0f7a680bf0f1d076565f2ca0eb2bfaba56465366 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Mon Nov 02 19:32:24 2020 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Mon Nov 09 17:28:17 2020 +0100 |
tree | 171a821e9cbeee082fa058e2cde5ae3750a08fd0 | |
parent | 4de5593bd33beffc05dc348eb6704f83967b1386 [diff] |
efi_loader: non-volatile variable not deleted from file When deleting a non-volatile variable it was deleted from memory but the deletion was not persisted to the file system. SetVariable() may be called with attributes == 0 to delete a variable. To determine if the deletion shall be persisted we have to consider the non-volatile flag in the attributes of the deleted variable and not the value passed in the call parameter. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>