Fix OR in if statement to evaulate correctly
Related: BZ#1620520
This commit is contained in:
parent
e04b2816f9
commit
d08712a31a
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ else
|
|||
fi
|
||||
|
||||
# set mysql_flags and admin_flagsadmin_flags properly
|
||||
if [ -z "${MYSQL_ROOT_PASSWORD:-}" || is_allowing_connection_with_empty_password ]; then
|
||||
if [ -z "${MYSQL_ROOT_PASSWORD:-}" ] || is_allowing_connection_with_empty_password; then
|
||||
mysql_flags="-u root --socket=$MYSQL_LOCAL_SOCKET"
|
||||
else
|
||||
mysql_flags="-u root --socket=$MYSQL_LOCAL_SOCKET -p${MYSQL_ROOT_PASSWORD}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue