From 58515d0f9502f6cb578f8be3ef0e5854f22803e9 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 2 Jul 2016 18:51:03 +0200 Subject: [PATCH] remove old implementation of --read-special this was a bit too simple, better implementation see next changesets. --- borg/archiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg/archiver.py b/borg/archiver.py index 9996ede5e..5d12bfc2d 100644 --- a/borg/archiver.py +++ b/borg/archiver.py @@ -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)