aboutsummaryrefslogtreecommitdiff
path: root/tools/efivar.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/efivar.py')
-rwxr-xr-xtools/efivar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/efivar.py b/tools/efivar.py
index a02b09d..29eb90a 100755
--- a/tools/efivar.py
+++ b/tools/efivar.py
@@ -149,7 +149,7 @@ class EfiVariableStore:
offs = 0
while offs < len(self.ents):
var, loffs = self._next_var(offs)
- if var.name == name and str(var.guid):
+ if var.name == name and str(var.guid) == guid:
if var.attrs != attrs:
print("err: attributes don't match")
exit(1)