MDEV-10853 netcat help output in error log when running xtrabackup SST
This commit is contained in:
parent
81c13acfb3
commit
04f92dde67
@ -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…
x
Reference in New Issue
Block a user