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