diff options
author | Leah Neukirchen <leah@vuxu.org> | 2018-04-17 15:13:32 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2018-04-17 15:13:32 +0200 |
commit | 5f250330cb0269191a25ba76b52ac50d5dcf8cc4 (patch) | |
tree | 93aa1a8094b3e583cca593f0b76199257ef48065 | |
parent | 14a2c978db73f847df97633c2c058cd5bdc3ba59 (diff) | |
download | mblaze-5f250330cb0269191a25ba76b52ac50d5dcf8cc4.tar.gz mblaze-5f250330cb0269191a25ba76b52ac50d5dcf8cc4.tar.xz mblaze-5f250330cb0269191a25ba76b52ac50d5dcf8cc4.zip |
mcom: update flags after mrep/mbnc/mfwd
-rwxr-xr-x | mcom | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/mcom b/mcom index cd462de..b9a524c 100755 --- a/mcom +++ b/mcom @@ -356,7 +356,6 @@ while :; do else rm $draft $draftmime fi - exit 0 else printf '%s\n' "mcom: $sendmail failed, kept draft $draft" exit 2 @@ -374,7 +373,6 @@ while :; do else rm $draft fi - exit 0 else printf '%s\n' "mcom: $sendmail failed, kept draft $draft" exit 2 @@ -384,6 +382,14 @@ while :; do c= fi fi + + case "$0" in + *mrep*) mflag -R -- "$1" ;; + *mbnc*) mflag -P -- "$1" ;; + *mfwd*) mflag -P -- "$@" ;; + esac + + exit 0 ;; c|cancel) stampdate $draft |