Update nodemgmt-scripts.sh

This commit is contained in:
2023-01-01 10:06:34 -06:00
parent 15a6ea0fe5
commit 9907ad0f62

View File

@@ -2418,7 +2418,7 @@ if [ ${action-x} ]; then
backup) BACKUP;;
downlist)
if [ "${2}" = "report" ]; then
if [ -f ${FOLDER}/*.down ]; then
if [ -f "${FOLDER}/*.down" ]; then
rm -f ${FOLDER}/status-downlist.lastrun
DOWNLIST report >> ${FOLDER}/status-downlist.lastrun
STATUSLOG="$(cat ${FOLDER}/status-downlist.lastrun)"