removed echo debugging

This commit is contained in:
Matthew Saunders Brown 2021-04-23 13:29:08 -07:00
parent 4db91d9fe8
commit 4b16c021d9

View File

@ -143,13 +143,13 @@ function bashup::remove_expired_backups () {
if [[ -d $backup_storage_dir/$existing_backup/$directory ]]; then
echo rm -r $backup_storage_dir/$existing_backup/$directory
rm -r $backup_storage_dir/$existing_backup/$directory
fi
if [[ -z "$(ls -A $backup_storage_dir/$existing_backup)" ]]; then
echo rm -r $backup_storage_dir/$existing_backup
rm -r $backup_storage_dir/$existing_backup
fi