quotes
This commit is contained in:
parent
583f06a72c
commit
884a1cb2ed
|
@ -7521,11 +7521,11 @@ function gpg_key_exists {
|
|||
else
|
||||
KEY_EXISTS=$(gpg --list-keys "${key_search_text}")
|
||||
fi
|
||||
if [ ! $KEY_EXISTS ]; then
|
||||
if [ ! "$KEY_EXISTS" ]; then
|
||||
echo "no"
|
||||
return
|
||||
fi
|
||||
if [ $KEY_EXISTS == *"error"* ]; then
|
||||
if [ "$KEY_EXISTS" == *"error"* ]; then
|
||||
echo "no"
|
||||
return
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue