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