Bob Mottram 8 年前
父节点
当前提交
f6eec19b9c
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/freedombone-controlpanel-user

+ 2
- 2
src/freedombone-controlpanel-user 查看文件

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