From: martin f. krafft Date: Sat, 29 Jun 2013 06:59:24 +0000 (+0200) Subject: cleanup tmpfile in reuse-message X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/2acef100d7ed86fb12abf80908376b08d64df4ff?ds=inline;hp=78ae86a908265776c91728333e451be278a8a0e7 cleanup tmpfile in reuse-message --- diff --git a/.mutt/reuse-message b/.mutt/reuse-message index 6353558..0bdb3f8 100755 --- a/.mutt/reuse-message +++ b/.mutt/reuse-message @@ -21,6 +21,8 @@ formail -I Subject: < "$mailfile" | \ sed -e '/^Bcc:/aSubject: ' > "$tmpfile" cat "$tmpfile" > "$mailfile" +cleanup + if [ -n "$editor" ]; then eval exec "$editor" "$mailfile"