Disable timeout and correct sign.exp error

This commit is contained in:
James Laska
2015-09-09 12:13:55 -04:00
parent 06e6980eaf
commit b7ddbc48b1

View File

@@ -3,7 +3,8 @@
# Helper script to respond to passphrase prompts from the gpg command. # Helper script to respond to passphrase prompts from the gpg command.
# #
set timeout 600 # Disable timeout
set timeout -1
# Optionally print usage message # Optionally print usage message
if {[llength $argv] <= 0} { if {[llength $argv] <= 0} {
@@ -28,7 +29,7 @@ expect {
exp_continue exp_continue
} }
timeout { timeout {
puts "[error] expect timeout" puts "expect timeout"
exit 1 exit 1
} }
eof { } eof { }