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.pull/169/head
parent
6705b3ee29
commit
f27bc561c3
Loading…
Reference in New Issue