aboutsummaryrefslogtreecommitdiffstats
path: root/config/mailscanner
diff options
context:
space:
mode:
Diffstat (limited to 'config/mailscanner')
-rw-r--r--config/mailscanner/mailscanner.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/mailscanner/mailscanner.inc b/config/mailscanner/mailscanner.inc
index f1eef765..f15f7c61 100644
--- a/config/mailscanner/mailscanner.inc
+++ b/config/mailscanner/mailscanner.inc
@@ -681,7 +681,7 @@ Country Sub-Domains List = %etc-dir%/country.domains.conf
$perl_bin="perl";
$perl_version_file=MAILSCANNER_LOCALBASE . '/etc/perl5_version';
if (file_exists($perl_version_file)) {
- $perl_version = `/usr/bin/grep 'PERL_VERSION=' $perl_version_file | /usr/bin/cut -f2 -d'='`;
+ $perl_version = trim(`/usr/bin/grep 'PERL_VERSION=' $perl_version_file | /usr/bin/cut -f2 -d'='`);
$perl_bin .= $perl_version;
}