From 9daad1d973c4b381768b67b99a69cd060dc15778 Mon Sep 17 00:00:00 2001 From: jim-p Date: Mon, 9 Dec 2013 09:56:22 -0500 Subject: Make sure it doesn't end up with a newline --- config/mailscanner/mailscanner.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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; } -- cgit v1.2.3