diff options
Diffstat (limited to 'lib/rsh.exp')
-rw-r--r-- | lib/rsh.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rsh.exp b/lib/rsh.exp index 6852661..7cd9064 100644 --- a/lib/rsh.exp +++ b/lib/rsh.exp @@ -256,7 +256,7 @@ proc rsh_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" } @@ -279,7 +279,7 @@ proc rsh_exec { boardname program pargs inp outp } { set status "" } verbose "rsh_exec: status:$status text:$output" 4 - if { $status == "" } { + if { $status eq "" } { return [list -1 "Couldn't parse $RSH output, $output."] } regsub "XYZ(\[0-9\]*)ZYX\n?" $output "" output |