瀏覽代碼

Check that monkeysphere server keys exist

Bob Mottram 9 年之前
父節點
當前提交
72ed2b2cc9
沒有帳戶連結到提交者的電子郵件
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. 4
    0
      src/freedombone-controlpanel-user

+ 4
- 0
src/freedombone-controlpanel-user 查看文件

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 \