mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-06-10 16:39:40 +00:00
Don't enforce backup versioning if versionsToKeep <= 0
This commit is contained in:
parent
6a67ca43e4
commit
4ea19a2b7a
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ public class VaultBackupManager {
|
|||
}
|
||||
|
||||
private void enforceVersioning(DocumentFile dir, int versionsToKeep) {
|
||||
if (versionsToKeep < 0) {
|
||||
if (versionsToKeep <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue