mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-15 00:21:56 +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 @@ 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
|
||||
|
|
Loading…
Add table
Reference in a new issue