diff --git a/src/freedombone-controlpanel-user b/src/freedombone-controlpanel-user index d1e4e250..fc555513 100755 --- a/src/freedombone-controlpanel-user +++ b/src/freedombone-controlpanel-user @@ -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