We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 891cb63 commit c3238a3Copy full SHA for c3238a3
build/ps-entrypoint.sh
@@ -227,7 +227,7 @@ escape_special() {
227
228
# Escape comma ONLY if second argument is "heartbeat"
229
# If password contains commas they must be escaped with a backslash: “exam,ple” according https://docs.percona.com/percona-toolkit/pt-heartbeat.html
230
- if [[ "$2" == "heartbeat" ]]; then
+ if [[ $2 == "heartbeat" ]]; then
231
result=$(echo "$result" | sed 's/,/\\,/g')
232
fi
233
0 commit comments