removed -r parameter from rm command

This commit is contained in:
André Bauer 2017-03-13 08:49:57 +01:00 committed by GitHub
parent 22aea64b70
commit 5d7cd7702d

View file

@ -12,7 +12,7 @@ function get_backup_date () {
} }
function delete_old_backups () { function delete_old_backups () {
test -d ${BACKUP_DIR} && find ${BACKUP_DIR}/*_zammad_*.gz -type f -mtime +${HOLD_DAYS} -exec rm -r {} \; test -d ${BACKUP_DIR} && find ${BACKUP_DIR}/*_zammad_*.gz -type f -mtime +${HOLD_DAYS} -exec rm {} \;
} }
function get_db_credentials () { function get_db_credentials () {