1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-15 16:40:23 +00:00

remove old implementation of --read-special

this was a bit too simple, better implementation see next changesets.
This commit is contained in:
Thomas Waldmann 2016-07-02 18:51:03 +02:00
parent 7c8783e7c2
commit 58515d0f95

View file

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