summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2012-02-12 01:40:42 +0000
committerivan <ivan>2012-02-12 01:40:42 +0000
commit0d3cb6c92bd281a8eb5f5e615267fec0282a2801 (patch)
tree1f4bc332b97e988132e408d8b5874cd68577b1ac
parent96905d3cea83fb83ad59ddee55ab43be6600c812 (diff)
apply shellcommands ignored_errors regexen to STDOUT as well as STDERR, RT#15347
-rw-r--r--FS/FS/part_export/shellcommands.pm2
1 files changed, 0 insertions, 2 deletions
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;