diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-08-24 19:41:11 -0400 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-08-24 19:41:11 -0400 |
commit | b506d9527b4303b91f69fe6b6f21f911e5bfef72 (patch) | |
tree | df1c59a8150e4505103308ac3c0d8565933e3bc5 /scripts | |
parent | c309e99ff9b48c1736ff468e72153048c4b56561 (diff) | |
parent | d40d3f4e57f375897aa29e72e947e372e6bc229d (diff) | |
download | mariadb-git-b506d9527b4303b91f69fe6b6f21f911e5bfef72.tar.gz |
Merge branch '5.5-galera' into 10.0-galera
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/wsrep_sst_rsync.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/wsrep_sst_rsync.sh b/scripts/wsrep_sst_rsync.sh index 6d8181a0b14..62f9e234d0e 100644 --- a/scripts/wsrep_sst_rsync.sh +++ b/scripts/wsrep_sst_rsync.sh @@ -208,7 +208,8 @@ then [ "$OS" == "Linux" ] && count=$(grep -c processor /proc/cpuinfo) [ "$OS" == "Darwin" -o "$OS" == "FreeBSD" ] && count=$(sysctl -n hw.ncpu) - find . -maxdepth 1 -mindepth 1 -type d -print0 | xargs -I{} -0 -P $count \ + find . -maxdepth 1 -mindepth 1 -type d -not -name "lost+found" -print0 | \ + xargs -I{} -0 -P $count \ rsync --owner --group --perms --links --specials \ --ignore-times --inplace --recursive --delete --quiet \ $WHOLE_FILE_OPT --exclude '*/ib_logfile*' "$WSREP_SST_OPT_DATA"/{}/ \ |