From 51c0a2a530772f5d05dff49f823b0ed8b878b75d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 4 May 2016 09:22:46 +0100 Subject: [PATCH] change variable --- src/freedombone-controlpanel-user | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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