Skip to content

Commit eb8679b

Browse files
committed
Removed unneeded option from --verbose --help run (5.7+)
1 parent 6683a07 commit eb8679b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

5.7/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ _datadir() {
6060

6161
# For use with the client if user passes the --socket argument
6262
_socket() {
63-
"$@" --verbose --help --log-bin-index="$(mktemp -u)" 2>/dev/null | awk '$1 == "socket" { print $2; exit }'
63+
"$@" --verbose --help 2>/dev/null | awk '$1 == "socket" { print $2; exit }'
6464
}
6565

6666
# allow the container to be started with `--user`

8.0/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ _datadir() {
6060

6161
# For use with the client if user passes the --socket argument
6262
_socket() {
63-
"$@" --verbose --help --log-bin-index="$(mktemp -u)" 2>/dev/null | awk '$1 == "socket" { print $2; exit }'
63+
"$@" --verbose --help 2>/dev/null | awk '$1 == "socket" { print $2; exit }'
6464
}
6565

6666
# allow the container to be started with `--user`

0 commit comments

Comments
 (0)