Update nodemgmt-scripts.sh

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

View File

@@ -795,10 +795,6 @@ GUI(){
done done
fi 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 if [ ! -f "${NM_FOLDER}/status-check.running" ]; then
touch "${NM_FOLDER}/status-check.running" touch "${NM_FOLDER}/status-check.running"
if [ "${2}" == "report" ]; then if [ "${2}" == "report" ]; then