mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-16 00:50:18 +00:00
remove old implementation of --read-special
this was a bit too simple, better implementation see next changesets.
This commit is contained in:
parent
7c8783e7c2
commit
58515d0f95
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ class Archiver:
|
||||||
# Ignore if nodump flag is set
|
# Ignore if nodump flag is set
|
||||||
if has_lchflags and (st.st_flags & stat.UF_NODUMP):
|
if has_lchflags and (st.st_flags & stat.UF_NODUMP):
|
||||||
return
|
return
|
||||||
if stat.S_ISREG(st.st_mode) or read_special and not stat.S_ISDIR(st.st_mode):
|
if stat.S_ISREG(st.st_mode):
|
||||||
if not dry_run:
|
if not dry_run:
|
||||||
try:
|
try:
|
||||||
status = archive.process_file(path, st, cache, self.ignore_inode)
|
status = archive.process_file(path, st, cache, self.ignore_inode)
|
||||||
|
|
Loading…
Add table
Reference in a new issue