diff options
author | Alexey Yurchenko <ayurchen@gmail.com> | 2015-06-08 12:23:53 +0300 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2015-09-09 17:03:31 -0400 |
commit | 1b1410c449c651739590dba3d61ea5494c149ed3 (patch) | |
tree | 7a111503dce276037bb1b1403ac7794d22747181 /scripts | |
parent | 62c25393767179b6ace73a94b07e9fe2cfff5ba2 (diff) | |
download | mariadb-git-1b1410c449c651739590dba3d61ea5494c149ed3.tar.gz |
Slight cleanup improvement on a previous commit.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/wsrep_sst_common.sh | 4 |
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 |