1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-30 11:11:28 +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 @@ def _process(self, archive, cache, matcher, exclude_caches, exclude_if_present,
# Ignore if nodump flag is set
if has_lchflags and (st.st_flags & stat.UF_NODUMP):
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:
try:
status = archive.process_file(path, st, cache, self.ignore_inode)