Skip to content

Commit

Permalink
Fixed "line 24: [: missing ]" syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
fcarrus authored and omron93 committed Aug 2, 2018
1 parent 1623f9a commit b0195ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root-common/usr/bin/run-mysqld
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit b0195ca

Please sign in to comment.