Exclude lost+found dir from applications
This commit is contained in:
@@ -56,6 +56,8 @@ class BackupManager:
|
|||||||
source_dirs = itertools.chain(applications_path.iterdir(), home_path.iterdir())
|
source_dirs = itertools.chain(applications_path.iterdir(), home_path.iterdir())
|
||||||
|
|
||||||
for app_dir in source_dirs:
|
for app_dir in source_dirs:
|
||||||
|
if app_dir == "lost+found":
|
||||||
|
continue
|
||||||
if app_dir.is_dir():
|
if app_dir.is_dir():
|
||||||
try:
|
try:
|
||||||
# Get the owner of the directory
|
# Get the owner of the directory
|
||||||
|
|||||||
Reference in New Issue
Block a user