apply shellcommands ignored_errors regexen to STDOUT as well as STDERR, RT#15347
[freeside.git] / FS / FS / part_export / shellcommands.pm
index edbe78f..b3b7545 100644 (file)
@@ -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);
   }