Fix expect script hang

This commit is contained in:
James Laska 2015-09-09 11:18:06 -04:00
parent 3a914619ce
commit 06e6980eaf

View File

@ -23,7 +23,7 @@ if { [info exists env(PASSPHRASE) ] } {
# Run the desired command
spawn {*}$command
expect {
-exact -nocase "enter passphrase: " {
-nocase "enter passphrase: " {
send -- "$passphrase\r"
exp_continue
}