diff options
Diffstat (limited to 'lib/ssh.exp')
-rw-r--r-- | lib/ssh.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh.exp b/lib/ssh.exp index c589ca9..91a3903 100644 --- a/lib/ssh.exp +++ b/lib/ssh.exp @@ -165,7 +165,7 @@ proc ssh_exec { boardname program pargs inp outp } { # If CMD sends any output to stderr, exec will think it failed. # More often than not that will be true, but it doesn't catch the # case where there is no output but the exit code is non-zero. - if { $inp == "" } { + if { $inp eq "" } { set inp "/dev/null" } @@ -190,7 +190,7 @@ proc ssh_exec { boardname program pargs inp outp } { set status "" } verbose "ssh_exec: status:$status text:$output" 4 - if { $status == "" } { + if { $status eq "" } { return [list -1 "Couldn't parse $SSH output, $output."] } regsub "XYZ(\[0-9\]*)ZYX\n?" $output "" output |