Change deletion methode

This commit is contained in:
Dryusdan 2021-01-15 16:34:52 +01:00
parent 6dc9be6235
commit 60a7b1b22b
1 changed files with 1 additions and 1 deletions

View File

@ -130,5 +130,5 @@ do
done
info "Backup is done"
info "Removing old backup"
find ${FOLDER_WITHOUT_DATE} -mtime +${RETENTION} -delete
find ${FOLDER_WITHOUT_DATE} -mtime +${RETENTION} -exec rm -rf {} \;
info "Removing done"