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[@]}