mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-03 10:17:40 +00:00
Ignore unix sockets
This commit is contained in:
parent
8616df7f32
commit
2c328be1b1
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue