Fix typo in run tool

This commit is contained in:
Stefan Kalkowski 2013-05-28 11:24:02 +02:00
parent 4a9b1c6aab
commit 6826a07133

View File

@ -639,7 +639,7 @@ proc power_plug_reset {} {
regexp -all {[0-9]+} $expect_out(0,string) power_status regexp -all {[0-9]+} $expect_out(0,string) power_status
if {!$power_status} { if {!$power_status} {
puts "port $power_port is off - switching it on" puts "port $power_port is off - switching it on"
send -i $connetion_id "port $power_port 1\n" send -i $connection_id "port $power_port 1\n"
expect -i $connection_id "250 OK" expect -i $connection_id "250 OK"
} else { } else {
puts "port $power_port is on - reset port" puts "port $power_port is on - reset port"