Sfoglia il codice sorgente

Check that monkeysphere server keys exist

Bob Mottram 9 anni fa
parent
commit
72ed2b2cc9
No account linked to committer's email
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4
    0
      src/freedombone-controlpanel-user

+ 4
- 0
src/freedombone-controlpanel-user Vedi File

822
 }
822
 }
823
 
823
 
824
 function sign_keys {
824
 function sign_keys {
825
+	if [ ! -f /home/$USER/.monkeysphere/server_keys ]; then
826
+		return
827
+	fi
828
+
825
 	dialog --title $"Monkeysphere sign server keys" \
829
 	dialog --title $"Monkeysphere sign server keys" \
826
 		   --backtitle $"Freedombone Security Configuration" \
830
 		   --backtitle $"Freedombone Security Configuration" \
827
 		   --defaultno \
831
 		   --defaultno \