SPDX: license tags (mostly by guesswork)
[exim.git] / src / util / ratelimit.pl
index d7fd43ab1b07d15ab1c96d9bd1eda096347be59f..2ceeebbfa6911c6458ae8e3a06d3cf668874c148 100644 (file)
@@ -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 <<END;
 usage: ratelimit.pl [options] <period> <regex> <logfile>