aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-12-09 09:56:22 -0500
committerjim-p <jimp@pfsense.org>2013-12-09 09:56:22 -0500
commit9daad1d973c4b381768b67b99a69cd060dc15778 (patch)
treeae8cf70b83a4c2da7b024fb272148d7c08201cfc /config
parentf50be8942af808ef65b3397552498efd532306ff (diff)
downloadpfsense-packages-9daad1d973c4b381768b67b99a69cd060dc15778.tar.gz
pfsense-packages-9daad1d973c4b381768b67b99a69cd060dc15778.tar.bz2
pfsense-packages-9daad1d973c4b381768b67b99a69cd060dc15778.zip
Make sure it doesn't end up with a newline
Diffstat (limited to 'config')
-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;
}