Skip to content

Commit 2a750c3

Browse files
authored
Fix syntax error and update release (#677)
1 parent 61bbc81 commit 2a750c3

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.5.1-2
1+
5.5.1-3

changelog

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
12/27/2023 Changes in v5.5.1-3
2+
==================================
3+
- Fix Exim code block
4+
15
12/27/2023 Changes in v5.5.1-2
26
==================================
37
- Fix 7z/xz/bz2 etc. decompression

common/usr/sbin/MailScanner

+5-5
Original file line numberDiff line numberDiff line change
@@ -378,11 +378,11 @@ if (/exim/i) {
378378
if ($eximcommand eq "") {
379379
# try to find exim
380380
eval {
381-
$eximcommand = `which exim`;
382-
}
381+
$eximcommand = `which exim`;
382+
};
383383
if ($@ || $eximcommand eq "") {
384-
print STDERR "Exim binary not found. Please supply the full path to Exim Command in MailScanner.conf";
385-
exit 1;
384+
print STDERR "Exim binary not found. Please supply the full path to Exim Command in MailScanner.conf";
385+
exit 1;
386386
}
387387
}
388388
# Get exim version
@@ -394,7 +394,7 @@ if (/exim/i) {
394394
@line = split(/ /, $out[0]);
395395
$ver = $line[2];
396396
$ver =~ /\d+\.\d+/;
397-
}
397+
};
398398
if ($@) {
399399
print STDERR "Unable to obtain version of Exim. Please check the path to Exim Command in MailScanner.conf";
400400
exit 1;

0 commit comments

Comments
 (0)