Update nodemgmt-scripts.sh
This commit is contained in:
@@ -493,7 +493,7 @@ STATUS(){
|
||||
replruntime=$((replend-replstart))
|
||||
if [ "${timeout}" = "true" ]; 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
|
||||
if [ ! -f ${FOLDER}/${nip}-${rcheck}.down ]; then
|
||||
touch ${FOLDER}/${nip}-${rcheck}.down
|
||||
@@ -502,7 +502,7 @@ STATUS(){
|
||||
fi
|
||||
else
|
||||
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
|
||||
if [ -f ${FOLDER}/${nip}-${rcheck}.down ]; then
|
||||
rm -f ${FOLDER}/${nip}-${rcheck}.down
|
||||
|
||||
Reference in New Issue
Block a user