Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user