]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
change cleanup force
authorBastian Dehn <hhaalo@arcor.de>
Sat, 8 Aug 2026 09:36:49 +0000 (11:36 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 8 Aug 2026 09:36:49 +0000 (11:36 +0200)
src/backup

index 79334d614baef19547f53c41ce87df158c0a2808..696cd53d6524dac66588b04b361a3c42a93a1b05 100755 (executable)
@@ -287,7 +287,7 @@ cleanup_old_backups()
        local backup=
        for backup in "${backups[@]}"; do
                echo "🗑️ INFO: delete ${backup##*/}"
-               rm --recursive "$backup"
+               rm --recursive --force "$backup"
        done
 }