aboutsummaryrefslogtreecommitdiff
path: root/lib/rsh.exp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rsh.exp')
-rw-r--r--lib/rsh.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rsh.exp b/lib/rsh.exp
index 7cd9064..315eec0 100644
--- a/lib/rsh.exp
+++ b/lib/rsh.exp
@@ -44,9 +44,9 @@ proc rsh_open { hostname } {
if {[board_info $hostname exists name]} {
set hostname [board_info $hostname name]
}
- set hostname [lindex [split [board_info ${hostname} netport] ":"] 0]
- if {[board_info ${hostname} exists shell_prompt]} {
- set shell_prompt [board_info ${hostname} shell_prompt]
+ set hostname [lindex [split [board_info $hostname netport] ":"] 0]
+ if {[board_info $hostname exists shell_prompt]} {
+ set shell_prompt [board_info $hostname shell_prompt]
} else {
set shell_prompt ".*> "
}