Invert logic

This commit is contained in:
Bob Mottram 2018-04-07 13:22:26 +01:00
parent 32ff0f683c
commit 801e14529d
1 changed files with 2 additions and 2 deletions

View File

@ -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 ''