change variable

This commit is contained in:
Bob Mottram 2016-05-04 09:22:46 +01:00
parent 0cb5324604
commit 51c0a2a530
No known key found for this signature in database
GPG Key ID: BA68F26108DC9F87
1 changed files with 1 additions and 1 deletions

View File

@ -699,7 +699,7 @@ function sign_gpg_key {
case $sel in
0)
SIGN_ADDRESS=$(<$data)
if [ ${#IMAGE_URL} -gt 2 ]; then
if [ ${#SIGN_ADDRESS} -gt 2 ]; then
clear
fpr=$(gpg --with-colons --fingerprint "$SIGN_ADDRESS" | grep fpr | head -n 1 | awk -F ':' '{print $10}')
if [[ $fpr == *"error"* ]]; then