projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f674442
)
apply shellcommands ignored_errors regexen to STDOUT as well as STDERR, RT#15347
author
ivan
<ivan>
Sun, 12 Feb 2012 01:40:16 +0000
(
01:40
+0000)
committer
ivan
<ivan>
Sun, 12 Feb 2012 01:40:16 +0000
(
01:40
+0000)
FS/FS/part_export/shellcommands.pm
patch
|
blob
|
history
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);
}