diff options
Diffstat (limited to 'lib/rlogin.exp')
-rw-r--r-- | lib/rlogin.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rlogin.exp b/lib/rlogin.exp index 8fe32a5..ec915e4 100644 --- a/lib/rlogin.exp +++ b/lib/rlogin.exp @@ -142,7 +142,7 @@ proc rlogin_spawn { dest cmdline } { } set prefix "" set ok 0 - for {set i 0;} {$i <= 2 && ! $ok} {incr i;} { + for { set i 0 } {$i <= 2 && ! $ok} { incr i } { set shell_id [remote_open $dest] if { $shell_id != "" && $shell_id > 0 } { remote_send $dest "echo k\r" |