!fixup: Avoid duplicate exclude_files_larger_than treatment

This commit is contained in:
deajan 2025-03-04 21:27:59 +01:00
parent 443e543c24
commit 631a407ce4

View file

@ -1016,7 +1016,7 @@ class ResticRunner:
# In case of conversion to 0, avoid setting this value
if exclude_files_larger_than == 0:
exclude_files_larger_than = None
if exclude_files_larger_than:
cmd += f" --exclude-larger-than {exclude_files_larger_than}"
if one_file_system:
cmd += " --one-file-system"