diff options
Diffstat (limited to 'lib/ssh.exp')
-rw-r--r-- | lib/ssh.exp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/ssh.exp b/lib/ssh.exp index 0cf0f8d..a72f794 100644 --- a/lib/ssh.exp +++ b/lib/ssh.exp @@ -194,9 +194,6 @@ proc ssh_exec { boardname program pargs inp outp } { return [list -1 "Couldn't parse $SSH output, $output."] } regsub "XYZ(\[0-9\]*)ZYX\n?" $output "" output - # Delete one trailing \n because that is what `exec' will do and we want - # to behave identical to it. - regsub "\n$" $output "" output return [list [expr {$status != 0}] $output] } |