mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-30 19:21:17 +00:00
Don't try to backup doors or event ports
This commit is contained in:
parent
f486a6772c
commit
e98f823f34
1 changed files with 6 additions and 0 deletions
|
@ -281,6 +281,12 @@ def _process(self, archive, cache, matcher, exclude_caches, exclude_if_present,
|
|||
elif stat.S_ISSOCK(st.st_mode):
|
||||
# Ignore unix sockets
|
||||
return
|
||||
elif stat.S_ISDOOR(st.st_mode):
|
||||
# Ignore Solaris doors
|
||||
return
|
||||
elif stat.S_ISPORT(st.st_mode):
|
||||
# Ignore Solaris event ports
|
||||
return
|
||||
else:
|
||||
self.print_warning('Unknown file type: %s', path)
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue