diff options
author | jim-p <jimp@pfsense.org> | 2013-12-09 09:56:22 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-12-09 09:56:22 -0500 |
commit | 9daad1d973c4b381768b67b99a69cd060dc15778 (patch) | |
tree | ae8cf70b83a4c2da7b024fb272148d7c08201cfc | |
parent | f50be8942af808ef65b3397552498efd532306ff (diff) | |
download | pfsense-packages-9daad1d973c4b381768b67b99a69cd060dc15778.tar.gz pfsense-packages-9daad1d973c4b381768b67b99a69cd060dc15778.tar.bz2 pfsense-packages-9daad1d973c4b381768b67b99a69cd060dc15778.zip |
Make sure it doesn't end up with a newline
-rw-r--r-- | config/mailscanner/mailscanner.inc | 2 |
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; } |