index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/lib/disk/fido.py | 6 |
diff --git a/archinstall/lib/disk/fido.py b/archinstall/lib/disk/fido.py index 97c38d84..83b85d08 100644 --- a/archinstall/lib/disk/fido.py +++ b/archinstall/lib/disk/fido.py @@ -36,7 +36,11 @@ class Fido2: # to prevent continous reloading which will slow # down moving the cursor in the menu if not cls._loaded or reload: - ret: Optional[str] = SysCommand(f"systemd-cryptenroll --fido2-device=list").decode('UTF-8') + ret = "" + try: + ret = Optional[str] = SysCommand(f"systemd-cryptenroll --fido2-device=list").decode('UTF-8') + except: + error('fido2 support is most likely not installed') if not ret: error('Unable to retrieve fido2 devices') return [] |