Check for empty string
This commit is contained in:
		@@ -135,7 +135,11 @@ function gpgSearch() {
 | 
			
		||||
      if [ $? -eq 0 ]; then
 | 
			
		||||
        export FFP=$(gpg -k "$(cat $TMP)" | head -n 2 | tail -n 1 | awk '{print $1}' | sed 's/.\{4\}/& /g;s/^\(.*\) $/\1/g')
 | 
			
		||||
        gpg --batch --delete-key "$FFP"
 | 
			
		||||
        return 0
 | 
			
		||||
        if [ "$FFP" = "" ]; then
 | 
			
		||||
          gpgSearch
 | 
			
		||||
        else
 | 
			
		||||
          return 0
 | 
			
		||||
        fi
 | 
			
		||||
      else
 | 
			
		||||
        gpgSearch
 | 
			
		||||
      fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user