Skip to content

Commit

Permalink
seal-hotpkey: Cleaner debug output to dmesg for lsub output in case w…
Browse files Browse the repository at this point in the history
…e can't talk to dongle and show it's there for -32 errors debugging

TODO: double GPG Admin prompt for HOTP sealing? loop must be wrong

Signed-off-by: Thierry Laurion <[email protected]>
  • Loading branch information
tlaurion committed Apr 18, 2024
1 parent acaf29a commit aa57c4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion initrd/bin/seal-hotpkey
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ fatal_error()
echo -e "\nERROR: ${1}; press Enter to continue."
read
# get lsusb output for debugging
DEBUG "lsusb output: $(lsusb)"
DEBUG "lsusb output:"
DEBUG "$(lsusb)"
die "$1"
}

Expand Down

0 comments on commit aa57c4b

Please sign in to comment.