Update status.inc
This commit is contained in:
@@ -7,15 +7,12 @@ STATUS(){
|
||||
[ "${ST_ACTION}" == "sync" ] && ST_ACTION=repl
|
||||
declare -i cw; declare -i spc1; declare -i c
|
||||
|
||||
ntypesel=""
|
||||
for NTYPE in "${NM_NODE_TYPES[@]}"; do
|
||||
if [ "${ST_ACTION^^}" == "${NTYPE}" ]; then
|
||||
ntypesel=${NTYPE}
|
||||
ST_ACTION=${2}
|
||||
break
|
||||
fi
|
||||
done
|
||||
[ "${ntypesel}" != "" ] && ntypesel=(${ntypesel}) || ntypesel=(${NM_NODE_TYPES[@]})
|
||||
if [ "${NM_NODETYPES[${ST_ACTION^^}]}" != "" ]; then
|
||||
ntypesel=(${ST_ACTION^^})
|
||||
ST_ACTION=${2}
|
||||
else
|
||||
ntypesel=(${NM_NODE_TYPES[@]})
|
||||
fi
|
||||
|
||||
############################
|
||||
## REPLICATION CHECK SETUP
|
||||
|
||||
Reference in New Issue
Block a user