From 2a750c3ac592c1ea81cf1fd782bde4c0d795e27c Mon Sep 17 00:00:00 2001 From: Shawn Iverson Date: Wed, 27 Dec 2023 13:20:11 -0500 Subject: [PATCH] Fix syntax error and update release (#677) --- VERSION | 2 +- changelog | 4 ++++ common/usr/sbin/MailScanner | 10 +++++----- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/VERSION b/VERSION index 74a6f6c5..63ca20af 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.5.1-2 +5.5.1-3 diff --git a/changelog b/changelog index b1010d4c..0a7b3b18 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,7 @@ +12/27/2023 Changes in v5.5.1-3 +================================== +- Fix Exim code block + 12/27/2023 Changes in v5.5.1-2 ================================== - Fix 7z/xz/bz2 etc. decompression diff --git a/common/usr/sbin/MailScanner b/common/usr/sbin/MailScanner index fef3fff2..49362a2e 100644 --- a/common/usr/sbin/MailScanner +++ b/common/usr/sbin/MailScanner @@ -378,11 +378,11 @@ if (/exim/i) { if ($eximcommand eq "") { # try to find exim eval { - $eximcommand = `which exim`; - } + $eximcommand = `which exim`; + }; if ($@ || $eximcommand eq "") { - print STDERR "Exim binary not found. Please supply the full path to Exim Command in MailScanner.conf"; - exit 1; + print STDERR "Exim binary not found. Please supply the full path to Exim Command in MailScanner.conf"; + exit 1; } } # Get exim version @@ -394,7 +394,7 @@ if (/exim/i) { @line = split(/ /, $out[0]); $ver = $line[2]; $ver =~ /\d+\.\d+/; - } + }; if ($@) { print STDERR "Unable to obtain version of Exim. Please check the path to Exim Command in MailScanner.conf"; exit 1;