Repair problem

This commit is contained in:
Dryusdan 2023-10-03 11:47:06 +02:00
parent af0110927e
commit 3aba95c8fe
Signed by: Dryusdan
GPG key ID: EC1438DDE24E27D7

View file

@ -212,7 +212,7 @@ MINS=$(($FULLBACKUPCYCLE * ($KEEP + 1 ) / 60))
info "Cleaning up old backups (older than $MINS minutes) and temporary files"
# Delete old backups
for DEL in $(find ${BASEBACKDIR} -mindepth 1 -maxdepth 1 -type d -mmin +${MINN} -printf "%P\n")
for DEL in $(find ${BASEBACKDIR} -mindepth 1 -maxdepth 1 -type d -mmin +${MINS} -printf "%P\n")
do
info "deleting ${DEL}"
rm -rf "${BASEBACKDIR}/${DEL}"