removed -r parameter from rm command
This commit is contained in:
parent
22aea64b70
commit
5d7cd7702d
1 changed files with 1 additions and 1 deletions
|
@ -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 {} \;
|
||||
}
|
||||
|
||||
function get_db_credentials () {
|
||||
|
|
Loading…
Reference in a new issue