X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/758b13a09e1d9bf8e5ddb9d422db71cc463ca9a3..f5759daf16a28e5b395849b2ce4762f3bb46d3ce:/src/util/ratelimit.pl?ds=sidebyside diff --git a/src/util/ratelimit.pl b/src/util/ratelimit.pl index aaa14fcc1..ce54fe6c3 100644 --- a/src/util/ratelimit.pl +++ b/src/util/ratelimit.pl @@ -1,7 +1,11 @@ #!/usr/bin/perl -wT +# Copyright (c) The Exim Maintainers 2022 +# SPDX-License-Identifier: GPL-2.0-or-later use strict; +BEGIN { pop @INC if $INC[-1] eq '.' }; + sub usage () { print < @@ -24,7 +28,7 @@ options: whereas internally Exim computes sender rates to the accuracy of your computer's clock (typically 10ms). - The second argumetnis is 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