summaryrefslogtreecommitdiff
path: root/src/util/proxy_protocol_client.pl
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2017-02-10 19:37:44 -0500
committerPhil Pennock <pdp@exim.org>2017-02-10 19:37:44 -0500
commit4d3d955f2791199b35704c3e9784dc99fd229696 (patch)
treee2fde978479ed22a0b428d0b2e13dbd642d2434e /src/util/proxy_protocol_client.pl
parentcf0c61644d7dd2dfb29f6418d95bf4d8cae199ea (diff)
perl paranoia about @INC
Diffstat (limited to 'src/util/proxy_protocol_client.pl')
-rw-r--r--src/util/proxy_protocol_client.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/proxy_protocol_client.pl b/src/util/proxy_protocol_client.pl
index feae3ca90..67a171d5d 100644
--- a/src/util/proxy_protocol_client.pl
+++ b/src/util/proxy_protocol_client.pl
@@ -21,6 +21,7 @@
#
use strict;
use warnings;
+BEGIN { pop @INC if $INC[-1] eq '.' };
use IO::Select;
use IO::Socket;
use Getopt::Long;