Update nodemgmt-scripts.sh

This commit is contained in:
2023-04-30 15:28:28 -05:00
parent 2d828b8502
commit a601ea2909

View File

@@ -493,7 +493,7 @@ STATUS(){
replruntime=$((replend-replstart)) replruntime=$((replend-replstart))
if [ "${timeout}" = "true" ]; then if [ "${timeout}" = "true" ]; then
if [ "${ST_ACTION}" != "check" ]; then if [ "${ST_ACTION}" != "check" ]; then
echo -e "${idsCL[Red]}Timeout${idsCL[Default]}" echo -e "${idsCL[Red]}Timeout${idsCL[Default]} - timed out in $(SHOW_TIME ${replruntime} s)"
fi fi
if [ ! -f ${FOLDER}/${nip}-${rcheck}.down ]; then if [ ! -f ${FOLDER}/${nip}-${rcheck}.down ]; then
touch ${FOLDER}/${nip}-${rcheck}.down touch ${FOLDER}/${nip}-${rcheck}.down
@@ -502,7 +502,7 @@ STATUS(){
fi fi
else else
if [ "${ST_ACTION}" != "check" ]; then if [ "${ST_ACTION}" != "check" ]; then
echo -e "${idsCL[Green]}Good${idsCL[Default]} - synced in $(SHOW_TIME ${replruntime})" echo -e "${idsCL[Green]}Good${idsCL[Default]} - synced in $(SHOW_TIME ${replruntime} s)"
fi fi
if [ -f ${FOLDER}/${nip}-${rcheck}.down ]; then if [ -f ${FOLDER}/${nip}-${rcheck}.down ]; then
rm -f ${FOLDER}/${nip}-${rcheck}.down rm -f ${FOLDER}/${nip}-${rcheck}.down