mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
MDEV-10853 netcat help output in error log when running xtrabackup SST
This commit is contained in:
parent
3dd88fbd11
commit
c9ded859a6
2 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ get_transfer()
|
|||
fi
|
||||
wsrep_log_info "Using netcat as streamer"
|
||||
if [[ "$WSREP_SST_OPT_ROLE" == "joiner" ]];then
|
||||
if nc -h | grep -q ncat;then
|
||||
if nc -h 2>&1 | grep -q ncat;then
|
||||
tcmd="nc -l ${TSST_PORT}"
|
||||
else
|
||||
tcmd="nc -dl ${TSST_PORT}"
|
||||
|
|
|
@ -149,7 +149,7 @@ get_transfer()
|
|||
fi
|
||||
wsrep_log_info "Using netcat as streamer"
|
||||
if [[ "$WSREP_SST_OPT_ROLE" == "joiner" ]];then
|
||||
if nc -h | grep -q ncat;then
|
||||
if nc -h 2>&1 | grep -q ncat;then
|
||||
tcmd="nc -l ${TSST_PORT}"
|
||||
else
|
||||
tcmd="nc -dl ${TSST_PORT}"
|
||||
|
|
Loading…
Add table
Reference in a new issue