summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexey Yurchenko <ayurchen@gmail.com>2015-06-08 12:23:53 +0300
committerNirbhay Choubey <nirbhay@mariadb.com>2015-09-09 17:03:31 -0400
commit1b1410c449c651739590dba3d61ea5494c149ed3 (patch)
tree7a111503dce276037bb1b1403ac7794d22747181 /scripts
parent62c25393767179b6ace73a94b07e9fe2cfff5ba2 (diff)
downloadmariadb-git-1b1410c449c651739590dba3d61ea5494c149ed3.tar.gz
Slight cleanup improvement on a previous commit.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/wsrep_sst_common.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/wsrep_sst_common.sh b/scripts/wsrep_sst_common.sh
index f6d838ef425..0aa338510e0 100644
--- a/scripts/wsrep_sst_common.sh
+++ b/scripts/wsrep_sst_common.sh
@@ -143,8 +143,8 @@ readonly WSREP_SST_OPT_AUTH
if ! wsrep_auth_not_set
then
readonly AUTH_VEC=(${WSREP_SST_OPT_AUTH//:/ })
- [ -n "${AUTH_VEC[0]}" ] && WSREP_SST_OPT_USER="${AUTH_VEC[0]}"
- [ -n "${AUTH_VEC[1]:-}" ] && WSREP_SST_OPT_PSWD="${AUTH_VEC[1]:-}"
+ WSREP_SST_OPT_USER="${AUTH_VEC[0]:-}"
+ WSREP_SST_OPT_PSWD="${AUTH_VEC[1]:-}"
fi
readonly WSREP_SST_OPT_USER
readonly WSREP_SST_OPT_PSWD