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
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ class Archiver:
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