mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Fix expect script hang
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user