mirror of https://github.com/borgbackup/borg.git
Ignore unix sockets
This commit is contained in:
parent
8616df7f32
commit
2c328be1b1
|
@ -99,6 +99,9 @@ class Archiver(object):
|
||||||
return
|
return
|
||||||
if (st.st_ino, st.st_dev) in skip_inodes:
|
if (st.st_ino, st.st_dev) in skip_inodes:
|
||||||
return
|
return
|
||||||
|
# Ignore unix sockets
|
||||||
|
if stat.S_ISSOCK(st.st_mode):
|
||||||
|
return
|
||||||
self.print_verbose(path)
|
self.print_verbose(path)
|
||||||
if stat.S_ISDIR(st.st_mode):
|
if stat.S_ISDIR(st.st_mode):
|
||||||
archive.process_dir(path, st)
|
archive.process_dir(path, st)
|
||||||
|
|
Loading…
Reference in New Issue