X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/48789abfb13b0713aeb5c60e7be3961322ce6181..0856d0a1c8825d9d97a490463bc2e0ba58391137:/bin/resubmit-postponed-messages diff --git a/bin/resubmit-postponed-messages b/bin/resubmit-postponed-messages index df5663e..6846bde 100755 --- a/bin/resubmit-postponed-messages +++ b/bin/resubmit-postponed-messages @@ -12,6 +12,7 @@ LOCKFILE="$VAR/.$ME.lock" trap "rm -f $LOCKFILE" 0 1 2 3 4 5 6 7 8 10 11 12 13 14 15 if ! lockfile -0 -r0 -l 3600 "$LOCKFILE" 2>/dev/null; then echo "E: another $ME process is already running over that Maildir." >&2 + trap - 0 1 2 3 4 5 6 7 8 10 11 12 13 14 15 exit 1 fi