X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/02721dcdf5dfcf96f62f6c657c9989b9ef991fa7..HEAD:/src/src/exim_checkaccess.src diff --git a/src/src/exim_checkaccess.src b/src/src/exim_checkaccess.src index 360f307ba..9615443db 100755 --- a/src/src/exim_checkaccess.src +++ b/src/src/exim_checkaccess.src @@ -1,7 +1,9 @@ #! /bin/sh +# Copyright (c) The Exim Maintainers 2023 # Copyright (c) University of Cambridge, 1995 - 2007 # See the file NOTICE for conditions of use and distribution. +# SPDX-License-Identifier: GPL-2.0-or-later # Except when they appear in comments, the following placeholders in this # source are replaced when it is turned into a runnable script: @@ -68,11 +70,11 @@ use FileHandle; use File::Basename; use IPC::Open2; -if ($ARGV[0] eq '--version') { +if ($ARGV[0] eq '--version' || $ARGV[0] eq '-v') { print basename($0) . ": $0\n", "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n", "perl(runtime): $]\n"; - exit 0; + exit 0; } if (scalar(@ARGV) < 3)