Fix expect script timeout

This commit is contained in:
James Laska
2015-09-09 13:07:09 -04:00
parent b7ddbc48b1
commit 87d8808c2d

View File

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