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