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