Menu

#56 use "assword" in stead of "password" in sandweb-expect scrip

open
5
2006-07-02
2006-07-02
Anonymous
No

Repalce the code

expect {
"password:" { send "$vcs_password\r" }
eof { exit 0 }
}

by

expect {
"assword:" { send "$vcs_password\r" }
eof { exit 0 }
}

In some systems the ssh client produces the promt
"Password" in others it uses "password" the expect
script should expect both.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB