diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index de8c1414..b1f06c36 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -593,11 +593,16 @@ BACKUP_OFFSITEPFSENSE(){ echo $i keep=0 if [[ "${i}" == *"-D"* ]]; then + echo daily filestokeep=${dailyfilestokeep[@]} elif [[ "${i}" == *"-W"* ]]; then + echo weekly filestokeep=${weeklyfilestokeep[@]} elif [[ "${i}" == *"-M"* ]]; then + echo monthyl filestokeep=${monthlyfilestokeep[@]} + else + echo nothing fi for a in ${!filestokeep}; do [ "${i}" == "${a}" ] && keep=1