Update status.inc

This commit is contained in:
2025-05-10 11:43:09 -05:00
parent 71333e822d
commit 573ec1ff54

View File

@@ -46,7 +46,7 @@ STATUS(){
echo -en "${idsCL[LightCyan]}${MSG}${spc}: " echo -en "${idsCL[LightCyan]}${MSG}${spc}: "
fi fi
for NTYPE in "${ntypesel[@]}"; do for NTYPE in "${ntypesel[@]}"; do
REPLSTART ${NTYPE} & REPLSTART ${NTYPE} #&
done done
if [ "${STATUS_ACTION}" != "check" ]; then if [ "${STATUS_ACTION}" != "check" ]; then
echo -e "${idsCL[LightGreen]}Done${idsCL[Default]}" echo -e "${idsCL[LightGreen]}Done${idsCL[Default]}"
@@ -929,7 +929,7 @@ REPLSTART(){
echo "HERE2: ${skip} - ${!PH}" echo "HERE2: ${skip} - ${!PH}"
if [ ${skip} -eq 0 ]; then if [ ${skip} -eq 0 ]; then
echo "skipped" echo "not skipped"
PH_CMD="ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 root@${!PH}" PH_CMD="ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 root@${!PH}"
var=${NODETYPE}_REPL_CHECK[@] var=${NODETYPE}_REPL_CHECK[@]
if [ ! -z ${!var+x} ]; then if [ ! -z ${!var+x} ]; then
@@ -941,7 +941,7 @@ REPLSTART(){
done done
fi fi
else else
echo "not skipped" echo "skipped"
fi fi
echo echo
} }