Update nodemgmt-scripts.sh

This commit is contained in:
2023-07-24 18:12:43 -05:00
parent 99f434b313
commit 09e783d95e

View File

@@ -793,12 +793,8 @@ GUI(){
for i in $getStuckNM; do
/bin/kill $i
done
fi
if [ -f "${NM_FOLDER}/status-check.running" ]; then
cbd=`date +%s`-$(stat -c %Y ${NM_FOLDER}/status-check.running)
[ ${cbd} -gt 900 ] && rm -f "${NM_FOLDER}/status-check.running"
fi
if [ ! -f "${NM_FOLDER}/status-check.running" ]; then
touch "${NM_FOLDER}/status-check.running"
if [ "${2}" == "report" ]; then