diff options
-rw-r--r-- | src/src/eximstats.src | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/eximstats.src b/src/src/eximstats.src index 76cfe7e97..8eb5cac89 100644 --- a/src/src/eximstats.src +++ b/src/src/eximstats.src @@ -557,7 +557,7 @@ use File::Basename; # use Time::Local; # PH/FANF use POSIX; -if ($ARGV[0] eq '--version') { +if (@ARGV and $ARGV[0] eq '--version') { print basename($0) . ": $0\n", "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n", "perl(runtime): $]\n"; |