projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
apply shellcommands ignored_errors regexen to STDOUT as well as STDERR, RT#15347
[freeside.git]
/
FS
/
FS
/
part_export
/
shellcommands.pm
diff --git
a/FS/FS/part_export/shellcommands.pm
b/FS/FS/part_export/shellcommands.pm
index
edbe78f
..
b3b7545
100644
(file)
--- a/
FS/FS/part_export/shellcommands.pm
+++ b/
FS/FS/part_export/shellcommands.pm
@@
-506,6
+506,8
@@
sub ssh_cmd { #subroutine, not method
$output =~ s/$ignored_error//g;
$errput =~ s/$ignored_error//g;
}
+ $output =~ s/[\s\n]//g;
+ $errput =~ s/[\s\n]//g;
chomp($output);
chomp($errput);
}