diff options
Diffstat (limited to 'python')
| -rw-r--r-- | python/vyos/utils/system.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/utils/system.py b/python/vyos/utils/system.py index a556a8ec4..6c112334b 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', expect=[255]) +    tmp = cmd('mokutil --sb-state', expect=[0, 255])      return bool('enabled' in tmp)  | 
