From 899e9ad8d61388de4d11d1ffaba7133f0fca7560 Mon Sep 17 00:00:00 2001 From: Roland Puntaier Date: Wed, 4 Sep 2019 20:10:06 +0200 Subject: [PATCH] fix mwpass=x not taken by mw add --- bin/mw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mw b/bin/mw index 7a59cd5..822cecf 100755 --- a/bin/mw +++ b/bin/mw @@ -37,7 +37,7 @@ msmtpbin="$prefix/bin/msmtp" _mwtakeaddr(){ mwaccmaildir="$mwmaildir/$mwaddr" # mail dir is $MAILDIR/email mwacccachedir=$mwcachedir/${mwaddr//[.@]/_} # @ cannot stay because of mutt, . could - [ -z "$mwpass" ] || mwpass=$_MW_-$mwaddr + [ -n "$mwpass" ] || mwpass=$_MW_-$mwaddr [ -n "$mwidnum" ] && mwaccmuttrc="$mwaccmuttdir/$mwidnum-$mwaddr.mwonofftype.$mwtype.muttrc" }