X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/ff92db2e5401f79a2721d2ffc20cbd21cb15f109..d9f57917c437b572dcecebd6bad8b8a3d0f00929:/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"