Fix the exit sequence.

This commit is contained in:
nekral-guest
2009-03-18 15:19:44 +00:00
parent af76777327
commit e6bc2c9f9b

View File

@@ -59,7 +59,10 @@ expect {
expect {
-re "\\($user\\).*\\($user\\).*\\($user\\)" {
puts "PASS"
expect "$prompt"
send "exit\r"
expect "$ "
puts "\nPASS"
exit 0
}
}