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 22:30:51 -0400
commit0ccbbffb78a1ae266d5bcd322de10f21e08a34ea (patch)
tree6e122965fbea64bbc84e72390d76eebc47218c36 /scripts
parentbc796c29b35ed307fd721543f2171572093d88f4 (diff)
downloadmariadb-git-0ccbbffb78a1ae266d5bcd322de10f21e08a34ea.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