mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-30 19:21:17 +00:00
Merge pull request #875 from bket/1.0-maint
fix issue #873 - running borg with --one-file-system traverses in excluded filesystems
This commit is contained in:
commit
8dbbc35b71
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ def _process(self, archive, cache, matcher, exclude_caches, exclude_if_present,
|
|||
if (st.st_ino, st.st_dev) in skip_inodes:
|
||||
return
|
||||
# Entering a new filesystem?
|
||||
if restrict_dev and st.st_dev != restrict_dev:
|
||||
if restrict_dev is not None and st.st_dev != restrict_dev:
|
||||
return
|
||||
status = None
|
||||
# Ignore if nodump flag is set
|
||||
|
|
Loading…
Reference in a new issue