Backups: skip system dir lost+found
This commit was merged in pull request #1.
This commit is contained in:
@@ -67,7 +67,7 @@ class BackupManager:
|
||||
source_dirs = applications_path.iterdir()
|
||||
|
||||
for app_dir in source_dirs:
|
||||
if app_dir == "lost+found":
|
||||
if "lost+found" in str(app_dir):
|
||||
continue
|
||||
if app_dir.is_dir():
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user