1
0
Fork 0
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:
TW 2016-04-10 16:52:39 +02:00
commit 8dbbc35b71

View file

@ -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