mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04:00
Merge pull request #9666 from Flachz/fix-xattrs-xdg-backup-exclude
fix: xattr xdg backup exclusion should be on 'false'
This commit is contained in:
commit
dd0713e013
1 changed files with 1 additions and 1 deletions
|
|
@ -1231,7 +1231,7 @@ def maybe_exclude_by_attr(item):
|
|||
if xattrs := item.get("xattrs"):
|
||||
apple_excluded = xattrs.get(b"com.apple.metadata:com_apple_backup_excludeItem")
|
||||
linux_excluded = xattrs.get(b"user.xdg.robots.backup")
|
||||
if apple_excluded is not None or linux_excluded == b"true":
|
||||
if apple_excluded is not None or linux_excluded == b"false":
|
||||
raise BackupItemExcluded
|
||||
|
||||
if flags := item.get("bsdflags"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue