Update nodemgmt-scripts.sh

This commit is contained in:
2022-06-11 22:41:10 -05:00
parent 7091db9548
commit 8c95e1406a

View File

@@ -1843,7 +1843,7 @@ if [ ${action-x} ]; then
status) status)
if [ -f "${FOLDER}/status-check.running" ]; then if [ -f "${FOLDER}/status-check.running" ]; then
fd=`stat --format=%Y "${FOLDER}/status-check.running"` fd=`stat --format=%Y "${FOLDER}/status-check.running"`
cbd=$((`date +%s` - 300)) cbd=$((`date +%s` - 450))
[ ${fd} -lt ${cbd} ] && rm -f "${FOLDER}/status-check.running" [ ${fd} -lt ${cbd} ] && rm -f "${FOLDER}/status-check.running"
fi fi
if [ ! -f "${FOLDER}/status-check.running" ]; then if [ ! -f "${FOLDER}/status-check.running" ]; then