diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2020-01-12 16:34:55 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-01-12 16:55:07 +0100 |
commit | 55035ad8b28b407f39def5c2b139a29e7e182958 (patch) | |
tree | 3f72642416554f93e4595864cd7ce63bc213d58c /filter.c | |
parent | 6705b3ee2956782a7267d7c4be82c3cbae40c7ed (diff) | |
download | mblaze-55035ad8b28b407f39def5c2b139a29e7e182958.tar.gz mblaze-55035ad8b28b407f39def5c2b139a29e7e182958.tar.xz mblaze-55035ad8b28b407f39def5c2b139a29e7e182958.zip |
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]
Diffstat (limited to 'filter.c')
0 files changed, 0 insertions, 0 deletions