Browse Source

change variable

Bob Mottram 9 years ago
parent
commit
51c0a2a530
No account linked to committer's email
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-controlpanel-user

+ 1
- 1
src/freedombone-controlpanel-user View File

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