Skip to content

Commit b0195ca

Browse files
fcarrusomron93
authored andcommitted
Fixed "line 24: [: missing ]" syntax error
1 parent 1623f9a commit b0195ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root-common/usr/bin/run-mysqld

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ else
2121
fi
2222

2323
# set mysql_flags and admin_flagsadmin_flags properly
24-
if [ -z "${MYSQL_ROOT_PASSWORD:-}" || is_allowing_connection_with_empty_password ]; then
24+
if [ -z "${MYSQL_ROOT_PASSWORD:-}" ] || [ is_allowing_connection_with_empty_password ]; then
2525
mysql_flags="-u root --socket=$MYSQL_LOCAL_SOCKET"
2626
else
2727
mysql_flags="-u root --socket=$MYSQL_LOCAL_SOCKET -p${MYSQL_ROOT_PASSWORD}"

0 commit comments

Comments
 (0)