removed echo debugging
This commit is contained in:
parent
4db91d9fe8
commit
4b16c021d9
|
@ -143,13 +143,13 @@ function bashup::remove_expired_backups () {
|
||||||
|
|
||||||
if [[ -d $backup_storage_dir/$existing_backup/$directory ]]; then
|
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
|
fi
|
||||||
|
|
||||||
if [[ -z "$(ls -A $backup_storage_dir/$existing_backup)" ]]; then
|
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
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user