Skip to content
Snippets Groups Projects
Commit 801e1452 authored by Bob Mottram's avatar Bob Mottram
Browse files

Invert logic

parent 32ff0f68
No related branches found
No related tags found
No related merge requests found
......@@ -865,7 +865,7 @@ function show_your_email_address {
msgstrbase=$"\\nYou can press SHIFT and then drag the mouse and right click to copy.\\n\\nEmail Address: ${MY_EMAIL_ADDRESS}${onionemailstr}\\n\\nKey ID: ${GPG_ID}\\n\\nFingerprint: ${GPG_FINGERPRINT}\\n\\nCreated: ${GPG_DATE}"
bdsmail_address=
bdsmailstr=
if [ ! -f ~/.mutt/bdsmail ]; then
if [ -f ~/.mutt/bdsmail ]; then
bdsmail_address=$(grep 'set from=' ~/.mutt/bdsmail | awk -F '=' '{print $2}')
bdsmailstr="\\n\\nI2P Address: ${bdsmail_address}"
dialog_height=$((dialog_height+3))
......@@ -885,7 +885,7 @@ function show_your_email_address {
echo ''
qr_code_shown=1
fi
if [ -f ~/.mutt/bdsmail ]; then
if [ "${bdsmail_address}" ]; then
echo ''
echo $'Your bdsmail address:'
echo ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment