[freeside-commits] freeside/FS/FS/part_export shellcommands.pm, 1.64, 1.65
Ivan,,,
ivan at wavetail.420.am
Sat Feb 11 17:40:16 PST 2012
Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory wavetail.420.am:/tmp/cvs-serv17121
Modified Files:
shellcommands.pm
Log Message:
apply shellcommands ignored_errors regexen to STDOUT as well as STDERR, RT#15347
Index: shellcommands.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/shellcommands.pm,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -w -d -r1.64 -r1.65
--- shellcommands.pm 12 Feb 2012 01:22:47 -0000 1.64
+++ shellcommands.pm 12 Feb 2012 01:40:14 -0000 1.65
@@ -506,6 +506,8 @@
$output =~ s/$ignored_error//g;
$errput =~ s/$ignored_error//g;
}
+ $output =~ s/[\s\n]//g;
+ $errput =~ s/[\s\n]//g;
chomp($output);
chomp($errput);
}
More information about the freeside-commits
mailing list