[fix] debconf: avoid infinite loop (#1517)
Don't loop when debconf frontend is non-interactive.
This commit is contained in:
parent
58603c0e40
commit
c8cfbdf426
|
@ -52,6 +52,9 @@ check_mysql()
|
|||
STATE=`expr $STATE + 1`
|
||||
else
|
||||
db_input high alternc/remote_mysql_error || true
|
||||
if [ $? -eq 30 ]; then
|
||||
exit 4
|
||||
fi
|
||||
db_go
|
||||
db_get alternc/remote_mysql_error || true
|
||||
if [ "$RET" = "false" ]; then
|
||||
|
|
Loading…
Reference in New Issue