diff --git a/backup.sh b/backup.sh index 3201006..6aad3f4 100755 --- a/backup.sh +++ b/backup.sh @@ -134,6 +134,6 @@ if [[ \ $*\ != *\ --skip-upload\ * ]]; then if [ "$REMOVE_BACKUP_VOLUME_AFTER_UPLOAD" -eq 1 ]; then echo "Cleaning up ${backup_path}" - rm -rf "${backup_path}" + rm -rf "${backup_path:?}"/* fi fi