projects
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Close notifier socket before re-exec of daemon. Bug 2539
[exim.git]
/
src
/
src
/
exim_checkaccess.src
diff --git
a/src/src/exim_checkaccess.src
b/src/src/exim_checkaccess.src
index 2cccbb5b55f575a0bcb5fd9eacad9723b3debb4a..360f307ba5e6806cfbda613eece0b18fc56cdfd7 100755
(executable)
--- a/
src/src/exim_checkaccess.src
+++ b/
src/src/exim_checkaccess.src
@@
-1,5
+1,4
@@
#! /bin/sh
#! /bin/sh
-# $Cambridge: exim/src/src/exim_checkaccess.src,v 1.2 2009/11/16 19:50:36 nm4 Exp $
# Copyright (c) University of Cambridge, 1995 - 2007
# See the file NOTICE for conditions of use and distribution.
# Copyright (c) University of Cambridge, 1995 - 2007
# See the file NOTICE for conditions of use and distribution.
@@
-64,9
+63,18
@@
if test "$exim_path" = ""; then exim_path=BIN_DIRECTORY/exim; fi
PERL_COMMAND - $exim_path $args <<'End'
PERL_COMMAND - $exim_path $args <<'End'
+BEGIN { pop @INC if $INC[-1] eq '.' };
use FileHandle;
use FileHandle;
+use File::Basename;
use IPC::Open2;
use IPC::Open2;
+if ($ARGV[0] eq '--version') {
+ print basename($0) . ": $0\n",
+ "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n",
+ "perl(runtime): $]\n";
+ exit 0;
+}
+
if (scalar(@ARGV) < 3)
{
print "Usage: exim_checkaccess <IP address> <email address> [exim options]\n";
if (scalar(@ARGV) < 3)
{
print "Usage: exim_checkaccess <IP address> <email address> [exim options]\n";