diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 9c2b6bf6..71c1c801 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -260,7 +260,7 @@ STATUS(){ for NTYPE in "${NODE_TYPES[@]}"; do GOREPCHK=false; - CHR=date +"%H"; + CHR=`date +"%H"`; if [ "${CHR}" -ge "12" ] && [ "${CHR}" -le "13" ] && [ "${NTYPE}" = "NC" ]; then GOREPCHK=true; elif [ "${NTYPE}" != "NC" ]; then