[freeside-commits] freeside/FS/FS/part_export shellcommands.pm, 1.57.4.6, 1.57.4.7
Ivan,,,
ivan at wavetail.420.am
Sat Feb 11 17:40:19 PST 2012
Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory wavetail.420.am:/tmp/cvs-serv17180
Modified Files:
Tag: FREESIDE_2_3_BRANCH
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.57.4.6
retrieving revision 1.57.4.7
diff -u -w -d -r1.57.4.6 -r1.57.4.7
--- shellcommands.pm 12 Feb 2012 01:22:44 -0000 1.57.4.6
+++ shellcommands.pm 12 Feb 2012 01:40:16 -0000 1.57.4.7
@@ -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