mirror of https://github.com/leahneukirchen/mblaze
mcom: check if a draft was found when invoking `mcom -r`
Without this patch `mcom -r` would invoke $EDITOR on a directory if the maildir did not contain any drafts. To prevent this from happening, check if a draft was found before performing any further processing. If not, terminate mcom with an error message. Closes: #169 [via git-merge-pr]pull/170/head
parent
6705b3ee29
commit
55035ad8b2
Loading…
Reference in New Issue