summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/vyos/utils/system.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/utils/system.py b/python/vyos/utils/system.py
index 7b12efb14..a556a8ec4 100644
--- a/python/vyos/utils/system.py
+++ b/python/vyos/utils/system.py
@@ -145,5 +145,5 @@ def get_secure_boot_state() -> bool:
from vyos.utils.boot import is_uefi_system
if not is_uefi_system():
return False
- tmp = cmd('mokutil --sb-state')
+ tmp = cmd('mokutil --sb-state', expect=[255])
return bool('enabled' in tmp)