Skip to content

Commit 6871ce6

Browse files
committed
Fixed whitespace mix
1 parent 141b713 commit 6871ce6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

5.5/docker-entrypoint.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ if [ "$1" = 'mysqld' ]; then
1212

1313
if [ ! -d "$DATADIR/mysql" ]; then
1414
if [ -z "$MYSQL_ROOT_PASSWORD" -a -z "$MYSQL_ALLOW_EMPTY_PASSWORD" -a -z "$MYSQL_RANDOM_ROOT_PASSWORD" ]; then
15-
echo >&2 'error: database is uninitialized and password option is not specified '
16-
echo >&2 ' You need to specify one of MYSQL_ROOT_PASSWORD, MYSQL_ALLOW_EMPTY_PASSWORD and MYSQL_RANDOM_ROOT_PASSWORD'
17-
exit 1
18-
fi
15+
echo >&2 'error: database is uninitialized and password option is not specified '
16+
echo >&2 ' You need to specify one of MYSQL_ROOT_PASSWORD, MYSQL_ALLOW_EMPTY_PASSWORD and MYSQL_RANDOM_ROOT_PASSWORD'
17+
exit 1
18+
fi
1919
mkdir -p "$DATADIR"
2020
chown -R mysql:mysql "$DATADIR"
2121

5.6/docker-entrypoint.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ if [ "$1" = 'mysqld' ]; then
1212

1313
if [ ! -d "$DATADIR/mysql" ]; then
1414
if [ -z "$MYSQL_ROOT_PASSWORD" -a -z "$MYSQL_ALLOW_EMPTY_PASSWORD" -a -z "$MYSQL_RANDOM_ROOT_PASSWORD" ]; then
15-
echo >&2 'error: database is uninitialized and password option is not specified '
16-
echo >&2 ' You need to specify one of MYSQL_ROOT_PASSWORD, MYSQL_ALLOW_EMPTY_PASSWORD and MYSQL_RANDOM_ROOT_PASSWORD'
17-
exit 1
18-
fi
15+
echo >&2 'error: database is uninitialized and password option is not specified '
16+
echo >&2 ' You need to specify one of MYSQL_ROOT_PASSWORD, MYSQL_ALLOW_EMPTY_PASSWORD and MYSQL_RANDOM_ROOT_PASSWORD'
17+
exit 1
18+
fi
1919
mkdir -p "$DATADIR"
2020
chown -R mysql:mysql "$DATADIR"
2121

0 commit comments

Comments
 (0)