X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/ff92db2e5401f79a2721d2ffc20cbd21cb15f109..a61350bc7ddd403460f79498a48e07f101fc2067:/bin/resubmit diff --git a/bin/resubmit b/bin/resubmit index 63f8a02..8405e77 100755 --- a/bin/resubmit +++ b/bin/resubmit @@ -3,7 +3,7 @@ set -eu PROCMAIL=$HOME/.etc/mailfilter/procmail/procmailrc -if [ -z "$1" ]; then +if [ -z "${1:-}" ]; then cat | exec $PROCMAIL else $PROCMAIL < "$1" && rm -f "$1"