Skip to content

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

Description

@robert-s-lee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions