SPDX: Mass-update to GPL-2.0-or-later
[exim.git] / src / util / proxy_protocol_client.pl
index feae3ca90f8762aa833323c18e9679b2c0663bcc..8253fc4ac1bbde8435ae7288c81d540f91ca6512 100644 (file)
@@ -3,6 +3,7 @@
 # Copyright (C) 2014 Todd Lyons
 # License GPLv2: GNU GPL version 2
 # <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
+# SPDX-License-Identifier: GPL-2.0-or-later
 #
 # This script emulates a proxy which uses Proxy Protocol to communicate
 # to a backend server.  It should be run from an IP which is configured
@@ -21,6 +22,7 @@
 #
 use strict;
 use warnings;
+BEGIN { pop @INC if $INC[-1] eq '.' };
 use IO::Select;
 use IO::Socket;
 use Getopt::Long;