1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-03 18:27:01 +00:00

Ignore unix sockets

This commit is contained in:
Jonas Borgström 2011-08-07 19:44:13 +02:00
parent 8616df7f32
commit 2c328be1b1

View file

@ -99,6 +99,9 @@ def _process(self, archive, cache, patterns, skip_inodes, path):
return
if (st.st_ino, st.st_dev) in skip_inodes:
return
# Ignore unix sockets
if stat.S_ISSOCK(st.st_mode):
return
self.print_verbose(path)
if stat.S_ISDIR(st.st_mode):
archive.process_dir(path, st)