mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
galera SST scripts: correction of the grep pattern
This commit is contained in:
parent
540288ac7c
commit
76fc26d632
2 changed files with 2 additions and 2 deletions
|
@ -848,7 +848,7 @@ recv_joiner()
|
|||
wsrep_log_error "receiving process ended without creating" \
|
||||
"magic file ($MAGIC_FILE)"
|
||||
wsrep_log_info "Contents of datadir:"
|
||||
wsrep_log_info "$(ls -l "$dir/"*)"
|
||||
wsrep_log_info "$(ls -l "$dir"/*)"
|
||||
exit 32
|
||||
fi
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ check_pid_and_port()
|
|||
if [ $ss_available -ne 0 -o $sockstat_available -ne 0 ]; then
|
||||
if [ $ss_available -ne 0 ]; then
|
||||
port_info=$($socket_utility $ss_opts -t "( sport = :$port )" 2>/dev/null | \
|
||||
grep -E '[[:space:]]users:[[:space:]]?(' | \
|
||||
grep -E '[[:space:]]users:[[:space:]]?\(' | \
|
||||
grep -o -E "([^[:space:]]+[[:space:]]+){4}[^[:space:]]+" || :)
|
||||
else
|
||||
if [ $sockstat_available -gt 1 ]; then
|
||||
|
|
Loading…
Reference in a new issue