Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure_db.sh fix logical and syntax errors on the if statements #843

Open
robert-s-lee opened this issue Jun 25, 2023 · 2 comments · May be fixed by #844
Open

configure_db.sh fix logical and syntax errors on the if statements #843

robert-s-lee opened this issue Jun 25, 2023 · 2 comments · May be fixed by #844

Comments

@robert-s-lee
Copy link

while [[ $DBSTATUS -ne 0 ]] && [[ $i -lt 60 ]] && [[ $ERRCODE -ne 0 ]]; do

should be while [[ $DBSTATUS -ne 0 || $ERRCODE -ne 0 ]] && [[ $i -lt 60 ]]; do

if [ $DBSTATUS -ne 0 ] OR [ $ERRCODE -ne 0 ]; then
have syntax errors

should be if [[ $DBSTATUS -ne 0 || $ERRCODE -ne 0 ]]; then

@robert-s-lee robert-s-lee linked a pull request Jun 25, 2023 that will close this issue
@Darrekt
Copy link

Darrekt commented Aug 12, 2023

Thanks for this fix! This should really be merged.

@yevheniilavrenchuk
Copy link

Also faced the problem of running the script, robert-s-lee's comment helped. Kudos!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants