efi_loader: appending to non-existent variable
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 26 Sep 2019 19:40:18 +0000 (21:40 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 6 Oct 2019 14:02:36 +0000 (16:02 +0200)
commit709292a63afc60bc840493315acf18c6c5e27eb4
tree81bb46861826f9848f681825decc5c4d2f2f72ce
parentdac51e9aaf6fd38298007b266feb6a80e9ec91ee
efi_loader: appending to non-existent variable

Appending to a non-existent variable must result in an error of type
EFI_NOT_FOUND.

Fixes: 09c76b79a9db ("efi_loader: SetVariable() deleting variables")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_variable.c