mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-31 00:24:17 +00:00
c33209add1
Initial card detection can sometimes fail, so prompt the user to remove/reinsert their GPG card before retrying. Since errexit is likely set, disable it prior to calling --card-status so we can handle the error ourself, then re-set if necessary when done. Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>