Skip to content

Commit

Permalink
Slight cleanup improvement on a previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
ayurchen authored and Nirbhay Choubey committed Sep 10, 2015
1 parent bc796c2 commit 0ccbbff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/wsrep_sst_common.sh
Expand Up @@ -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
Expand Down

0 comments on commit 0ccbbff

Please sign in to comment.