Fix Old backup delete

This commit is contained in:
André Bauer 2017-03-12 11:26:40 +01:00 committed by GitHub
parent c3a1ce393c
commit 22aea64b70

View file

@ -12,7 +12,7 @@ function get_backup_date () {
}
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 -r {} \;
}
function get_db_credentials () {