From: ivan Date: Sun, 12 Feb 2012 01:40:41 +0000 (+0000) Subject: apply shellcommands ignored_errors regexen to STDOUT as well as STDERR, RT#15347 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=d9a3fdd3a25ab72aa72b067a9f0a3082346571a4 apply shellcommands ignored_errors regexen to STDOUT as well as STDERR, RT#15347 --- diff --git a/FS/FS/part_export/shellcommands.pm b/FS/FS/part_export/shellcommands.pm index b3b7545c8..a3e0c759d 100644 --- a/FS/FS/part_export/shellcommands.pm +++ b/FS/FS/part_export/shellcommands.pm @@ -508,8 +508,6 @@ sub ssh_cmd { #subroutine, not method } $output =~ s/[\s\n]//g; $errput =~ s/[\s\n]//g; - chomp($output); - chomp($errput); } die $errput if $errput;