Merge pull request #1043 from MrChromebox/fix_gpg_comment

oem-factory-reset: fix custom comment entry
This commit is contained in:
tlaurion 2021-10-21 22:07:42 -04:00 committed by GitHub
commit 21e5068198
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -341,11 +341,11 @@ if [ "$prompt_output" == "y" \
};done
echo -e "\nEnter Comment (Optional, to distinguish this key from others with same previous attributes. Must be smaller then 60 characters):"
read -r GPG_USER_MAIL
while [[ ${#gpgcard_comment} -gt 60 ]]; do
read -r GPG_USER_COMMENT
while [[ ${#GPG_USER_COMMENT} -gt 60 ]]; do
{
echo -e "\nEnter Comment (Optional, to distinguish this key from others with same previous attributes. Must be smaller then 60 characters):"
read -r GPG_USER_MAIL
read -r GPG_USER_COMMENT
};done
fi