Skip to content

Commit

Permalink
fix cache cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lhns committed Aug 14, 2023
1 parent 90e92fe commit ea4a262
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class SettingsFragment : Fragment() {
}

binding.buttonCleanup.setOnClickListener {
backupManager.restic.restic(listOf("cache", "--cleanup"))
backupManager.restic.restic(listOf("cache", "--cleanup", "--max-age", "0"))
.handle { message, throwable ->
if (throwable != null) {
throwable.printStackTrace()
Expand Down

0 comments on commit ea4a262

Please sign in to comment.