summaryrefslogtreecommitdiff
path: root/scripts/wsrep_sst_xtrabackup.sh
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2016-09-28 13:20:02 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2016-09-28 13:20:02 -0400
commite1c6f28f0de5f3ad6c17f581a365fd90a4e14316 (patch)
tree45835da3d7729deb44364dafc30f5d2c8de78e84 /scripts/wsrep_sst_xtrabackup.sh
parent735a4a17c2b83a214dcd5279c66cd3577ef76eb1 (diff)
parentc9ded859a6fad25fc513d3a0c7d17f826e567691 (diff)
downloadmariadb-git-e1c6f28f0de5f3ad6c17f581a365fd90a4e14316.tar.gz
Merge branch '10.0-galera' into 10.1
Diffstat (limited to 'scripts/wsrep_sst_xtrabackup.sh')
-rw-r--r--scripts/wsrep_sst_xtrabackup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/wsrep_sst_xtrabackup.sh b/scripts/wsrep_sst_xtrabackup.sh
index 22923ab3e88..ca3c0129837 100644
--- a/scripts/wsrep_sst_xtrabackup.sh
+++ b/scripts/wsrep_sst_xtrabackup.sh
@@ -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}"