Bob Mottram преди 9 години
родител
ревизия
f6eec19b9c
No account linked to committer's email
променени са 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