Update nodemgmt-scripts.sh

This commit is contained in:
2019-12-10 23:14:06 -06:00
parent 7d9cfdcd0e
commit 2025501edf

View File

@@ -260,7 +260,8 @@ STATUS(){
for NTYPE in "${NODE_TYPES[@]}"; do
GOREPCHK=false;
if [ date +"%H" -ge "12" ] && [ date +"%H" -le "13" ] && [ "${NTYPE}" = "NC" ]; then
CHR=date +"%H";
if [ "${CHR}" -ge "12" ] && [ "${CHR}" -le "13" ] && [ "${NTYPE}" = "NC" ]; then
GOREPCHK=true;
elif [ "${NTYPE}" != "NC" ]; then
GOREPCHK=true;