X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/9a429ea7cf3cab8d57192d41d1ba94fa1365267d..00fc8b238163fb725561117a66668b57f7ad9965:/.mutt/sendmail diff --git a/.mutt/sendmail b/.mutt/sendmail index ff3a4c1..9efaea3 100755 --- a/.mutt/sendmail +++ b/.mutt/sendmail @@ -23,6 +23,7 @@ settrap cleanup cat > $TMPFILE args=$(for a in $@; do case "$a" in (*@*) echo "--arg=$a";; esac; done) run-parts --umask=0077 --arg="$TMPFILE" $args -- "$CHECKSDIR" -$SENDMAIL -- "$@" < "$TMPFILE" +[ "$1" = -- ] && shift +$SENDMAIL "$@" < "$TMPFILE" cleanup