summaryrefslogtreecommitdiff
path: root/scripts/wsrep_sst_rsync.sh
diff options
context:
space:
mode:
authorSeppo Jaakola <seppo.jaakola@codership.com>2013-02-05 17:54:42 +0200
committerSeppo Jaakola <seppo.jaakola@codership.com>2013-02-05 17:54:42 +0200
commit800fa186e3ab77ee93e75e929fe7917983e607e9 (patch)
treec5cc3e52e73f2469e5ef3f96249938699516d8df /scripts/wsrep_sst_rsync.sh
parent9da9a242faf1fd7b2f45dc0561e5bf742a7be47b (diff)
downloadmariadb-git-800fa186e3ab77ee93e75e929fe7917983e607e9.tar.gz
merged with codership-mysql up to revision 3839
bzr merge -r3810..3839 lp:codership-mysql/5.5
Diffstat (limited to 'scripts/wsrep_sst_rsync.sh')
-rw-r--r--scripts/wsrep_sst_rsync.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/wsrep_sst_rsync.sh b/scripts/wsrep_sst_rsync.sh
index d346eb240f2..d510477535c 100644
--- a/scripts/wsrep_sst_rsync.sh
+++ b/scripts/wsrep_sst_rsync.sh
@@ -38,7 +38,7 @@ cleanup_joiner()
check_pid()
{
local pid_file=$1
- [ -r $pid_file ] && ps -p $(cat $pid_file) >/dev/null 2>&1
+ [ -r "$pid_file" ] && ps -p $(cat $pid_file) >/dev/null 2>&1
}
check_pid_and_port()