fix grep patern
@@ -160,7 +160,7 @@ if [ -f "/usr/lib64/mysql/plugin/binlog_utils_udf.so" ]; then
fi
# add sst.cpat to exclude pxc-entrypoint, unsafe-bootstrap, pxc-configure-pxc from SST cleanup
-grep -q "^[sst]" "$CFG" || printf '[sst]\n' >> "$CFG"
+grep -q "^\[sst\]" "$CFG" || printf '[sst]\n' >> "$CFG"
grep -q "^cpat=" "$CFG" || sed '/^\[sst\]/a cpat=.*\\.pem$\\|.*init\\.ok$\\|.*galera\\.cache$\\|.*wsrep_recovery_verbose\\.log$\\|.*readiness-check\\.sh$\\|.*liveness-check\\.sh$\\|.*sst_in_progress$\\|.*sst-xb-tmpdir$\\|.*\\.sst$\\|.*gvwstate\\.dat$\\|.*grastate\\.dat$\\|.*\\.err$\\|.*\\.log$\\|.*RPM_UPGRADE_MARKER$\\|.*RPM_UPGRADE_HISTORY$\\|.*pxc-entrypoint\\.sh$\\|.*unsafe-bootstrap\\.sh$\\|.*pxc-configure-pxc\\.sh\\|.*peer-list$' "$CFG" 1<> "$CFG"
file_env 'XTRABACKUP_PASSWORD' 'xtrabackup'
