Bob Mottram 7 年之前
父節點
當前提交
b27b7799ca
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-controlpanel-user

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

@@ -885,7 +885,7 @@ function menu_run_client_app {
885 885
 function show_your_email_address {
886 886
     GPG_FINGERPRINT=$(gpg --fingerprint $GPG_ID | sed -n '2p' | sed 's/^[ \t]*//')
887 887
     GPG_DATE=$(gpg --fingerprint $GPG_ID | grep -i "pub" | head -n 1 | awk -F ' ' '{print $3}')
888
-    if [ ! -d ~/.mutt/bdsmail ]; then
888
+    if [ ! -f ~/.mutt/bdsmail ]; then
889 889
         dialog --title $"Show your Email Address" \
890 890
                --backtitle $"Freedombone User Control Panel" \
891 891
                --msgbox $"Email Address: $MY_EMAIL_ADDRESS\n\nKey ID: $GPG_ID\n\nFingerprint: $GPG_FINGERPRINT\n\nCreated: $GPG_DATE" 12 70