summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorivan <ivan>2012-02-12 01:40:41 +0000
committerivan <ivan>2012-02-12 01:40:41 +0000
commitd9a3fdd3a25ab72aa72b067a9f0a3082346571a4 (patch)
tree47366b9093e0c4d267b4ee3a213cc103db774cda /FS/FS
parent4fb5ec0a41aa2f9d2a580e8ab76e3a4aed986c44 (diff)
apply shellcommands ignored_errors regexen to STDOUT as well as STDERR, RT#15347
Diffstat (limited to 'FS/FS')
-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 b3b7545..a3e0c75 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;