Skip to content

Commit 0ccbbff

Browse files
ayurchenNirbhay Choubey
authored andcommitted
Slight cleanup improvement on a previous commit.
1 parent bc796c2 commit 0ccbbff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/wsrep_sst_common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ readonly WSREP_SST_OPT_AUTH
143143
if ! wsrep_auth_not_set
144144
then
145145
readonly AUTH_VEC=(${WSREP_SST_OPT_AUTH//:/ })
146-
[ -n "${AUTH_VEC[0]}" ] && WSREP_SST_OPT_USER="${AUTH_VEC[0]}"
147-
[ -n "${AUTH_VEC[1]:-}" ] && WSREP_SST_OPT_PSWD="${AUTH_VEC[1]:-}"
146+
WSREP_SST_OPT_USER="${AUTH_VEC[0]:-}"
147+
WSREP_SST_OPT_PSWD="${AUTH_VEC[1]:-}"
148148
fi
149149
readonly WSREP_SST_OPT_USER
150150
readonly WSREP_SST_OPT_PSWD

0 commit comments

Comments
 (0)