Skip to content

Commit

Permalink
add (Y/n) prompt to PIN question
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman committed Nov 2, 2024
1 parent c1a92f0 commit 051cfd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/ublue-os-luks/luks-enable-tpm2-autounlock
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ else
fi

SET_PIN_ARG=""
read -p "Would you like to set a pin? " -n 1 -r
read -p "Would you like to set a pin? (Y/n)" -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
SET_PIN_ARG=" --tpm2-with-pin=yes "
Expand Down

0 comments on commit 051cfd0

Please sign in to comment.