mssql-docker
mssql-docker copied to clipboard
configure_db.sh fix logical and syntax errors on the if statements
https://github.com/microsoft/mssql-docker/blob/80e2a51d0eb1693f2de014fb26d4a414f5a5add5/linux/preview/examples/mssql-customize/configure-db.sh#L12
should be while [[ $DBSTATUS -ne 0 || $ERRCODE -ne 0 ]] && [[ $i -lt 60 ]]; do
https://github.com/microsoft/mssql-docker/blob/80e2a51d0eb1693f2de014fb26d4a414f5a5add5/linux/preview/examples/mssql-customize/configure-db.sh#L19 have syntax errors
should be if [[ $DBSTATUS -ne 0 || $ERRCODE -ne 0 ]]; then
Thanks for this fix! This should really be merged.
Also faced the problem of running the script, robert-s-lee's comment helped. Kudos!