Merge "mariadb: make security_reset.expect's timeout configurable"

This commit is contained in:
Zuul 2018-10-31 12:41:32 +00:00 committed by Gerrit Code Review
commit ff05a7541e
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/expect -f
set timeout 10
if [catch {set timeout $env(DB_MAX_TIMEOUT)}] {set timeout 10}
spawn mysql_secure_installation
expect {
timeout { send_user "\nFailed to get 'Enter current password for root (enter for none):' prompt\n"; exit 1 }