X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/e83a8cf22196471e5fec61a03b03c1992097a3a2..a85c067ba6c6940512cf57ec213277a370d87e70:/src/util/ratelimit.pl diff --git a/src/util/ratelimit.pl b/src/util/ratelimit.pl index 1f08a9929..2ceeebbfa 100644 --- a/src/util/ratelimit.pl +++ b/src/util/ratelimit.pl @@ -1,7 +1,10 @@ #!/usr/bin/perl -wT +# SPDX-License-Identifier: GPL-2.0-only use strict; +BEGIN { pop @INC if $INC[-1] eq '.' }; + sub usage () { print < @@ -24,7 +27,7 @@ options: whereas internally Exim computes sender rates to the accuracy of your computer's clock (typically 10ms). - The second argumetnis a regular expression. + The second argument is a regular expression. Each line is matched against the regular expression. Lines that do not match are ignored. The regex may