X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/e83a8cf22196471e5fec61a03b03c1992097a3a2..fbc48a247f1014e8c6a0c9772082dbd7e00c6a55:/src/util/ratelimit.pl diff --git a/src/util/ratelimit.pl b/src/util/ratelimit.pl index 1f08a9929..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 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