Skip to content

Commit

Permalink
Removed unneeded option from --verbose --help run (5.7+)
Browse files Browse the repository at this point in the history
  • Loading branch information
ltangvald committed Feb 16, 2017
1 parent 6683a07 commit eb8679b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 5.7/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ _datadir() {

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

# allow the container to be started with `--user`
Expand Down
2 changes: 1 addition & 1 deletion 8.0/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ _datadir() {

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

# allow the container to be started with `--user`
Expand Down

0 comments on commit eb8679b

Please sign in to comment.