@@ -760,8 +760,8 @@ function gpg_key_trust {
255) return;;
esac
TRUST_LEVEL=$(cat $data)
- if [ ${TRUST_LEVEL} -ge 1] ; then
- if [ ${TRUST_LEVEL} -le 5] ; then
+ if [ ${TRUST_LEVEL} -ge 1 ] ; then
+ if [ ${TRUST_LEVEL} -le 5 ] ; then
echo -e "trust\n${TRUST_LEVEL}\ny\nsave\n" | gpg --command-fd 0 --edit-key $fpr
if [ "$?" = "0" ]; then
gpg --update-trustdb