apply shellcommands ignored_errors regexen to STDOUT as well as STDERR, RT#15347
authorivan <ivan>
Sun, 12 Feb 2012 01:40:41 +0000 (01:40 +0000)
committerivan <ivan>
Sun, 12 Feb 2012 01:40:41 +0000 (01:40 +0000)
FS/FS/part_export/shellcommands.pm

index b3b7545..a3e0c75 100644 (file)
@@ -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;