From 73f2e0951c3cc89487132d410db50ca11a57f67d Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 24 Aug 2023 21:35:17 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 3afc923d..feaac270 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -590,7 +590,6 @@ BACKUP_OFFSITEPFSENSE(){ weeklyfilestokeep=(`ls -d ${BAKFOLDER}/*-W 2> /dev/null | tail -2`) monthlyfilestokeep=(`ls -d ${BAKFOLDER}/*-M 2> /dev/null | tail -2`) for i in $(ls -d ${BAKFOLDER}/*); do - echo $i keep=0 if [[ "${i}" == *"-D"* ]]; then filestokeep=${dailyfilestokeep[@]}