Repair problem
This commit is contained in:
parent
af0110927e
commit
3aba95c8fe
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue