mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 04:30:05 -03:30
Fix expect script hang
This commit is contained in:
@@ -23,7 +23,7 @@ if { [info exists env(PASSPHRASE) ] } {
|
|||||||
# Run the desired command
|
# Run the desired command
|
||||||
spawn {*}$command
|
spawn {*}$command
|
||||||
expect {
|
expect {
|
||||||
-exact -nocase "enter passphrase: " {
|
-nocase "enter passphrase: " {
|
||||||
send -- "$passphrase\r"
|
send -- "$passphrase\r"
|
||||||
exp_continue
|
exp_continue
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user